Class: Bskyrb::AppBskyFeedDefs::FeedViewPost
- Inherits:
-
Object
- Object
- Bskyrb::AppBskyFeedDefs::FeedViewPost
- Defined in:
- lib/bskyrb/generated_classes.rb
Instance Attribute Summary collapse
-
#post ⇒ Object
Returns the value of attribute post.
-
#reason ⇒ Object
Returns the value of attribute reason.
-
#reply ⇒ Object
Returns the value of attribute reply.
Class Method Summary collapse
Instance Attribute Details
#post ⇒ Object
Returns the value of attribute post.
529 530 531 |
# File 'lib/bskyrb/generated_classes.rb', line 529 def post @post end |
#reason ⇒ Object
Returns the value of attribute reason.
533 534 535 |
# File 'lib/bskyrb/generated_classes.rb', line 533 def reason @reason end |
#reply ⇒ Object
Returns the value of attribute reply.
531 532 533 |
# File 'lib/bskyrb/generated_classes.rb', line 531 def reply @reply end |
Class Method Details
.from_hash(hash) ⇒ Object
535 536 537 538 539 540 541 542 543 544 545 546 |
# File 'lib/bskyrb/generated_classes.rb', line 535 def self.from_hash(hash) # httparty-returned string-keyed hash instance = new instance.send(:post=, hash["post"]) instance.send(:reply=, hash["reply"]) instance.send(:reason=, hash["reason"]) instance end |