Class: Bskyrb::AppBskyRichtextFacet::ByteSlice
- Inherits:
-
Object
- Object
- Bskyrb::AppBskyRichtextFacet::ByteSlice
- Defined in:
- lib/bskyrb/generated_classes.rb
Instance Attribute Summary collapse
-
#byteEnd ⇒ Object
Returns the value of attribute byteEnd.
-
#byteStart ⇒ Object
Returns the value of attribute byteStart.
Class Method Summary collapse
Instance Attribute Details
#byteEnd ⇒ Object
Returns the value of attribute byteEnd.
940 941 942 |
# File 'lib/bskyrb/generated_classes.rb', line 940 def byteEnd @byteEnd end |
#byteStart ⇒ Object
Returns the value of attribute byteStart.
938 939 940 |
# File 'lib/bskyrb/generated_classes.rb', line 938 def byteStart @byteStart end |
Class Method Details
.from_hash(hash) ⇒ Object
942 943 944 945 946 947 948 949 950 951 |
# File 'lib/bskyrb/generated_classes.rb', line 942 def self.from_hash(hash) # httparty-returned string-keyed hash instance = new instance.send(:byteStart=, hash["byteStart"]) instance.send(:byteEnd=, hash["byteEnd"]) instance end |