Class: Bskyrb::AppBskyFeedDefs::ReasonRepost
- Inherits:
-
Object
- Object
- Bskyrb::AppBskyFeedDefs::ReasonRepost
- Defined in:
- lib/bskyrb/generated_classes.rb
Instance Attribute Summary collapse
-
#by ⇒ Object
Returns the value of attribute by.
-
#indexedAt ⇒ Object
Returns the value of attribute indexedAt.
Class Method Summary collapse
Instance Attribute Details
#by ⇒ Object
Returns the value of attribute by.
571 572 573 |
# File 'lib/bskyrb/generated_classes.rb', line 571 def by @by end |
#indexedAt ⇒ Object
Returns the value of attribute indexedAt.
573 574 575 |
# File 'lib/bskyrb/generated_classes.rb', line 573 def indexedAt @indexedAt end |
Class Method Details
.from_hash(hash) ⇒ Object
575 576 577 578 579 580 581 582 583 584 |
# File 'lib/bskyrb/generated_classes.rb', line 575 def self.from_hash(hash) # httparty-returned string-keyed hash instance = new instance.send(:by=, hash["by"]) instance.send(:indexedAt=, hash["indexedAt"]) instance end |