Class: Bskyrb::AppBskyEmbedRecord::ViewBlocked

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.



421
422
423
# File 'lib/bskyrb/generated_classes.rb', line 421

def uri
  @uri
end

Class Method Details

.from_hash(hash) ⇒ Object



423
424
425
426
427
428
429
430
# File 'lib/bskyrb/generated_classes.rb', line 423

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

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

  instance
end