Class: Bskyrb::ComAtprotoIdentityResolvehandle::ResolveHandle::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.



4279
4280
4281
# File 'lib/bskyrb/generated_classes.rb', line 4279

def handle
  @handle
end

Class Method Details

.from_hash(hash) ⇒ Object



4281
4282
4283
4284
4285
4286
4287
4288
# File 'lib/bskyrb/generated_classes.rb', line 4281

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

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

  instance
end

Instance Method Details

#to_hObject



4290
4291
4292
4293
4294
4295
4296
# File 'lib/bskyrb/generated_classes.rb', line 4290

def to_h
  {

    "handle" => handle

  }
end