Class: Bskyrb::AppBskyFeedGetposts::GetPosts::Output
- Inherits:
-
Object
- Object
- Bskyrb::AppBskyFeedGetposts::GetPosts::Output
- Defined in:
- lib/bskyrb/generated_classes.rb
Instance Attribute Summary collapse
-
#posts ⇒ Object
Returns the value of attribute posts.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#posts ⇒ Object
Returns the value of attribute posts.
2626 2627 2628 |
# File 'lib/bskyrb/generated_classes.rb', line 2626 def posts @posts end |
Class Method Details
.from_hash(hash) ⇒ Object
2628 2629 2630 2631 2632 2633 2634 2635 |
# File 'lib/bskyrb/generated_classes.rb', line 2628 def self.from_hash(hash) # httparty-returned string-keyed hash instance = new instance.send(:posts=, hash["posts"]) instance end |
Instance Method Details
#to_h ⇒ Object
2637 2638 2639 2640 2641 2642 2643 |
# File 'lib/bskyrb/generated_classes.rb', line 2637 def to_h { "posts" => posts } end |