Class: Bskyrb::AppBskyRichtextFacet::Link

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.



923
924
925
# File 'lib/bskyrb/generated_classes.rb', line 923

def uri
  @uri
end

Class Method Details

.from_hash(hash) ⇒ Object



925
926
927
928
929
930
931
932
# File 'lib/bskyrb/generated_classes.rb', line 925

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

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

  instance
end