Class: Bskyrb::ComAtprotoIdentityUpdatehandle::UpdateHandle::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

#handleObject

Returns the value of attribute handle.



4325
4326
4327
# File 'lib/bskyrb/generated_classes.rb', line 4325

def handle
  @handle
end

Class Method Details

.from_hash(hash) ⇒ Object



4327
4328
4329
4330
4331
4332
4333
4334
# File 'lib/bskyrb/generated_classes.rb', line 4327

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

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

  instance
end

Instance Method Details

#to_hObject



4336
4337
4338
4339
4340
4341
4342
# File 'lib/bskyrb/generated_classes.rb', line 4336

def to_h
  {

    "handle" => handle

  }
end