Class: Bskyrb::ComAtprotoRepoUploadblob::UploadBlob::Output

Inherits:
Object
  • Object
show all
Defined in:
lib/bskyrb/generated_classes.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#blobObject

Returns the value of attribute blob.



5035
5036
5037
# File 'lib/bskyrb/generated_classes.rb', line 5035

def blob
  @blob
end

Class Method Details

.from_hash(hash) ⇒ Object



5037
5038
5039
5040
5041
5042
5043
5044
# File 'lib/bskyrb/generated_classes.rb', line 5037

def self.from_hash(hash)
  # httparty-returned string-keyed hash
  instance = new

  instance.send(:blob=, hash["blob"])

  instance
end

Instance Method Details

#to_hObject



5046
5047
5048
5049
5050
5051
5052
# File 'lib/bskyrb/generated_classes.rb', line 5046

def to_h
  {

    "blob" => blob

  }
end