Class: Bskyrb::AppBskyGraphUnmuteactor::UnmuteActor::Input

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

#actorObject

Returns the value of attribute actor.



3295
3296
3297
# File 'lib/bskyrb/generated_classes.rb', line 3295

def actor
  @actor
end

Class Method Details

.from_hash(hash) ⇒ Object



3297
3298
3299
3300
3301
3302
3303
3304
# File 'lib/bskyrb/generated_classes.rb', line 3297

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

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

  instance
end

Instance Method Details

#to_hObject



3306
3307
3308
3309
3310
3311
3312
# File 'lib/bskyrb/generated_classes.rb', line 3306

def to_h
  {

    "actor" => actor

  }
end