Class: Bskyrb::AppBskyFeedDefs::NotFoundPost
- Inherits:
-
Object
- Object
- Bskyrb::AppBskyFeedDefs::NotFoundPost
- Defined in:
- lib/bskyrb/generated_classes.rb
Instance Attribute Summary collapse
-
#notFound ⇒ Object
Returns the value of attribute notFound.
-
#uri ⇒ Object
Returns the value of attribute uri.
Class Method Summary collapse
Instance Attribute Details
#notFound ⇒ Object
Returns the value of attribute notFound.
615 616 617 |
# File 'lib/bskyrb/generated_classes.rb', line 615 def notFound @notFound end |
#uri ⇒ Object
Returns the value of attribute uri.
613 614 615 |
# File 'lib/bskyrb/generated_classes.rb', line 613 def uri @uri end |
Class Method Details
.from_hash(hash) ⇒ Object
617 618 619 620 621 622 623 624 625 626 |
# File 'lib/bskyrb/generated_classes.rb', line 617 def self.from_hash(hash) # httparty-returned string-keyed hash instance = new instance.send(:uri=, hash["uri"]) instance.send(:notFound=, hash["notFound"]) instance end |