Class: Rubirai::GroupFileSimple
- Defined in:
- lib/rubirai/objects/group_info.rb
Overview
Group file with less information
Direct Known Subclasses
Instance Attribute Summary collapse
- #id ⇒ Integer readonly
- #is_file ⇒ Boolean (also: #is_file?) readonly
- #name ⇒ String readonly
Attributes inherited from GroupInfo
Instance Method Summary collapse
Constructor Details
#initialize(hash, bot = nil) ⇒ Object
103 |
# File 'lib/rubirai/objects/group_info.rb', line 103 set_fields :name, :id, :path, :is_file, is_file: true |
Instance Attribute Details
#id ⇒ Integer (readonly)
103 |
# File 'lib/rubirai/objects/group_info.rb', line 103 set_fields :name, :id, :path, :is_file, is_file: true |
#is_file ⇒ Boolean (readonly) Also known as: is_file?
103 |
# File 'lib/rubirai/objects/group_info.rb', line 103 set_fields :name, :id, :path, :is_file, is_file: true |
#name ⇒ String (readonly)
103 |
# File 'lib/rubirai/objects/group_info.rb', line 103 set_fields :name, :id, :path, :is_file, is_file: true |
Instance Method Details
#to_h ⇒ Hash{String => Object}
103 |
# File 'lib/rubirai/objects/group_info.rb', line 103 set_fields :name, :id, :path, :is_file, is_file: true |