Class: Bskyrb::AppBskyGraphMuteactor::MuteActor::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.



3245
3246
3247
# File 'lib/bskyrb/generated_classes.rb', line 3245

def actor
  @actor
end

Class Method Details

.from_hash(hash) ⇒ Object



3247
3248
3249
3250
3251
3252
3253
3254
# File 'lib/bskyrb/generated_classes.rb', line 3247

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

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

  instance
end

Instance Method Details

#to_hObject



3256
3257
3258
3259
3260
3261
3262
# File 'lib/bskyrb/generated_classes.rb', line 3256

def to_h
  {

    "actor" => actor

  }
end