Class: Bskyrb::AppBskyFeedGetlikes::Like
- Inherits:
-
Object
- Object
- Bskyrb::AppBskyFeedGetlikes::Like
- Defined in:
- lib/bskyrb/generated_classes.rb
Instance Attribute Summary collapse
-
#actor ⇒ Object
Returns the value of attribute actor.
-
#createdAt ⇒ Object
Returns the value of attribute createdAt.
-
#indexedAt ⇒ Object
Returns the value of attribute indexedAt.
Class Method Summary collapse
Instance Attribute Details
#actor ⇒ Object
Returns the value of attribute actor.
655 656 657 |
# File 'lib/bskyrb/generated_classes.rb', line 655 def actor @actor end |
#createdAt ⇒ Object
Returns the value of attribute createdAt.
653 654 655 |
# File 'lib/bskyrb/generated_classes.rb', line 653 def createdAt @createdAt end |
#indexedAt ⇒ Object
Returns the value of attribute indexedAt.
651 652 653 |
# File 'lib/bskyrb/generated_classes.rb', line 651 def indexedAt @indexedAt end |
Class Method Details
.from_hash(hash) ⇒ Object
657 658 659 660 661 662 663 664 665 666 667 668 |
# File 'lib/bskyrb/generated_classes.rb', line 657 def self.from_hash(hash) # httparty-returned string-keyed hash instance = new instance.send(:indexedAt=, hash["indexedAt"]) instance.send(:createdAt=, hash["createdAt"]) instance.send(:actor=, hash["actor"]) instance end |