Class: Bskyrb::AppBskyFeedPost::TextSlice
- Inherits:
-
Object
- Object
- Bskyrb::AppBskyFeedPost::TextSlice
- Defined in:
- lib/bskyrb/generated_classes.rb
Instance Attribute Summary collapse
-
#end ⇒ Object
Returns the value of attribute end.
-
#start ⇒ Object
Returns the value of attribute start.
Class Method Summary collapse
Instance Attribute Details
#end ⇒ Object
Returns the value of attribute end.
714 715 716 |
# File 'lib/bskyrb/generated_classes.rb', line 714 def end @end end |
#start ⇒ Object
Returns the value of attribute start.
712 713 714 |
# File 'lib/bskyrb/generated_classes.rb', line 712 def start @start end |
Class Method Details
.from_hash(hash) ⇒ Object
716 717 718 719 720 721 722 723 724 725 |
# File 'lib/bskyrb/generated_classes.rb', line 716 def self.from_hash(hash) # httparty-returned string-keyed hash instance = new instance.send(:start=, hash["start"]) instance.send(:end=, hash["end"]) instance end |