Class: Bskyrb::ComAtprotoServerCreateinvitecodes::AccountCodes
- Inherits:
-
Object
- Object
- Bskyrb::ComAtprotoServerCreateinvitecodes::AccountCodes
- Defined in:
- lib/bskyrb/generated_classes.rb
Instance Attribute Summary collapse
-
#account ⇒ Object
Returns the value of attribute account.
-
#codes ⇒ Object
Returns the value of attribute codes.
Class Method Summary collapse
Instance Attribute Details
#account ⇒ Object
Returns the value of attribute account.
1785 1786 1787 |
# File 'lib/bskyrb/generated_classes.rb', line 1785 def account @account end |
#codes ⇒ Object
Returns the value of attribute codes.
1787 1788 1789 |
# File 'lib/bskyrb/generated_classes.rb', line 1787 def codes @codes end |
Class Method Details
.from_hash(hash) ⇒ Object
1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 |
# File 'lib/bskyrb/generated_classes.rb', line 1789 def self.from_hash(hash) # httparty-returned string-keyed hash instance = new instance.send(:account=, hash["account"]) instance.send(:codes=, hash["codes"]) instance end |