Class: Rubirai::GroupFile
- Inherits:
-
GroupFileSimple
- Object
- GroupInfo
- GroupFileSimple
- Rubirai::GroupFile
- Defined in:
- lib/rubirai/objects/group_info.rb
Overview
Group file with detailed information
Instance Attribute Summary collapse
- #download_times ⇒ Integer readonly
- #download_url ⇒ String readonly
- #last_modify_time ⇒ Integer readonly
- #length ⇒ Integer readonly
- #md5 ⇒ String readonly
- #sha1 ⇒ String readonly
- #upload_time ⇒ Integer readonly
- #uploader_id ⇒ Integer readonly
Attributes inherited from GroupFileSimple
Attributes inherited from GroupInfo
Instance Method Summary collapse
Constructor Details
#initialize(hash, bot = nil) ⇒ Object
131 132 133 134 135 136 137 138 |
# File 'lib/rubirai/objects/group_info.rb', line 131 set_fields :length, :download_times, :uploader_id, :upload_time, :last_modify_time, :download_url, :sha1, :md5 |
Instance Attribute Details
#download_times ⇒ Integer (readonly)
131 132 133 134 135 136 137 138 |
# File 'lib/rubirai/objects/group_info.rb', line 131 set_fields :length, :download_times, :uploader_id, :upload_time, :last_modify_time, :download_url, :sha1, :md5 |
#download_url ⇒ String (readonly)
131 132 133 134 135 136 137 138 |
# File 'lib/rubirai/objects/group_info.rb', line 131 set_fields :length, :download_times, :uploader_id, :upload_time, :last_modify_time, :download_url, :sha1, :md5 |
#last_modify_time ⇒ Integer (readonly)
131 132 133 134 135 136 137 138 |
# File 'lib/rubirai/objects/group_info.rb', line 131 set_fields :length, :download_times, :uploader_id, :upload_time, :last_modify_time, :download_url, :sha1, :md5 |
#length ⇒ Integer (readonly)
131 132 133 134 135 136 137 138 |
# File 'lib/rubirai/objects/group_info.rb', line 131 set_fields :length, :download_times, :uploader_id, :upload_time, :last_modify_time, :download_url, :sha1, :md5 |
#md5 ⇒ String (readonly)
131 132 133 134 135 136 137 138 |
# File 'lib/rubirai/objects/group_info.rb', line 131 set_fields :length, :download_times, :uploader_id, :upload_time, :last_modify_time, :download_url, :sha1, :md5 |
#sha1 ⇒ String (readonly)
131 132 133 134 135 136 137 138 |
# File 'lib/rubirai/objects/group_info.rb', line 131 set_fields :length, :download_times, :uploader_id, :upload_time, :last_modify_time, :download_url, :sha1, :md5 |
#upload_time ⇒ Integer (readonly)
131 132 133 134 135 136 137 138 |
# File 'lib/rubirai/objects/group_info.rb', line 131 set_fields :length, :download_times, :uploader_id, :upload_time, :last_modify_time, :download_url, :sha1, :md5 |
#uploader_id ⇒ Integer (readonly)
131 132 133 134 135 136 137 138 |
# File 'lib/rubirai/objects/group_info.rb', line 131 set_fields :length, :download_times, :uploader_id, :upload_time, :last_modify_time, :download_url, :sha1, :md5 |
Instance Method Details
#to_h ⇒ Hash{String => Object}
131 132 133 134 135 136 137 138 |
# File 'lib/rubirai/objects/group_info.rb', line 131 set_fields :length, :download_times, :uploader_id, :upload_time, :last_modify_time, :download_url, :sha1, :md5 |