Class: Bskyrb::AppBskyEmbedRecord::ViewNotFound

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#uriObject

Returns the value of attribute uri.



406
407
408
# File 'lib/bskyrb/generated_classes.rb', line 406

def uri
  @uri
end

Class Method Details

.from_hash(hash) ⇒ Object



408
409
410
411
412
413
414
415
# File 'lib/bskyrb/generated_classes.rb', line 408

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

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

  instance
end