Class: Bskyrb::ComAtprotoServerDefs::InviteCodeUse
- Inherits:
-
Object
- Object
- Bskyrb::ComAtprotoServerDefs::InviteCodeUse
- Defined in:
- lib/bskyrb/generated_classes.rb
Instance Attribute Summary collapse
-
#usedAt ⇒ Object
Returns the value of attribute usedAt.
-
#usedBy ⇒ Object
Returns the value of attribute usedBy.
Class Method Summary collapse
Instance Attribute Details
#usedAt ⇒ Object
Returns the value of attribute usedAt.
1845 1846 1847 |
# File 'lib/bskyrb/generated_classes.rb', line 1845 def usedAt @usedAt end |
#usedBy ⇒ Object
Returns the value of attribute usedBy.
1843 1844 1845 |
# File 'lib/bskyrb/generated_classes.rb', line 1843 def usedBy @usedBy end |
Class Method Details
.from_hash(hash) ⇒ Object
1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 |
# File 'lib/bskyrb/generated_classes.rb', line 1847 def self.from_hash(hash) # httparty-returned string-keyed hash instance = new instance.send(:usedBy=, hash["usedBy"]) instance.send(:usedAt=, hash["usedAt"]) instance end |