Class: Bskyrb::AppBskyFeedGetpostthread::GetPostThread::Output
- Inherits:
-
Object
- Object
- Bskyrb::AppBskyFeedGetpostthread::GetPostThread::Output
- Defined in:
- lib/bskyrb/generated_classes.rb
Instance Attribute Summary collapse
-
#thread ⇒ Object
Returns the value of attribute thread.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#thread ⇒ Object
Returns the value of attribute thread.
2580 2581 2582 |
# File 'lib/bskyrb/generated_classes.rb', line 2580 def thread @thread end |
Class Method Details
.from_hash(hash) ⇒ Object
2582 2583 2584 2585 2586 2587 2588 2589 |
# File 'lib/bskyrb/generated_classes.rb', line 2582 def self.from_hash(hash) # httparty-returned string-keyed hash instance = new instance.send(:thread=, hash["thread"]) instance end |
Instance Method Details
#to_h ⇒ Object
2591 2592 2593 2594 2595 2596 2597 |
# File 'lib/bskyrb/generated_classes.rb', line 2591 def to_h { "thread" => thread } end |