Class: Bskyrb::AppBskyGraphDefs::ListViewerState

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#mutedObject

Returns the value of attribute muted.



846
847
848
# File 'lib/bskyrb/generated_classes.rb', line 846

def muted
  @muted
end

Class Method Details

.from_hash(hash) ⇒ Object



848
849
850
851
852
853
854
855
# File 'lib/bskyrb/generated_classes.rb', line 848

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

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

  instance
end