Class: Bskyrb::ComAtprotoServerListapppasswords::AppPassword
- Inherits:
-
Object
- Object
- Bskyrb::ComAtprotoServerListapppasswords::AppPassword
- Defined in:
- lib/bskyrb/generated_classes.rb
Instance Attribute Summary collapse
-
#createdAt ⇒ Object
Returns the value of attribute createdAt.
-
#name ⇒ Object
Returns the value of attribute name.
Class Method Summary collapse
Instance Attribute Details
#createdAt ⇒ Object
Returns the value of attribute createdAt.
1883 1884 1885 |
# File 'lib/bskyrb/generated_classes.rb', line 1883 def createdAt @createdAt end |
#name ⇒ Object
Returns the value of attribute name.
1881 1882 1883 |
# File 'lib/bskyrb/generated_classes.rb', line 1881 def name @name end |
Class Method Details
.from_hash(hash) ⇒ Object
1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 |
# File 'lib/bskyrb/generated_classes.rb', line 1885 def self.from_hash(hash) # httparty-returned string-keyed hash instance = new instance.send(:name=, hash["name"]) instance.send(:createdAt=, hash["createdAt"]) instance end |