Class: Bskyrb::ComAtprotoServerCreateinvitecodes::CreateInviteCodes::Output
- Inherits:
-
Object
- Object
- Bskyrb::ComAtprotoServerCreateinvitecodes::CreateInviteCodes::Output
- Defined in:
- lib/bskyrb/generated_classes.rb
Instance Attribute Summary collapse
-
#codes ⇒ Object
Returns the value of attribute codes.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#codes ⇒ Object
Returns the value of attribute codes.
5275 5276 5277 |
# File 'lib/bskyrb/generated_classes.rb', line 5275 def codes @codes end |
Class Method Details
.from_hash(hash) ⇒ Object
5277 5278 5279 5280 5281 5282 5283 5284 |
# File 'lib/bskyrb/generated_classes.rb', line 5277 def self.from_hash(hash) # httparty-returned string-keyed hash instance = new instance.send(:codes=, hash["codes"]) instance end |
Instance Method Details
#to_h ⇒ Object
5286 5287 5288 5289 5290 5291 5292 |
# File 'lib/bskyrb/generated_classes.rb', line 5286 def to_h { "codes" => codes } end |