Class: Bskyrb::ComAtprotoIdentityResolvehandle::ResolveHandle::Output

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

#didObject

Returns the value of attribute did.



4300
4301
4302
# File 'lib/bskyrb/generated_classes.rb', line 4300

def did
  @did
end

Class Method Details

.from_hash(hash) ⇒ Object



4302
4303
4304
4305
4306
4307
4308
4309
# File 'lib/bskyrb/generated_classes.rb', line 4302

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

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

  instance
end

Instance Method Details

#to_hObject



4311
4312
4313
4314
4315
4316
4317
# File 'lib/bskyrb/generated_classes.rb', line 4311

def to_h
  {

    "did" => did

  }
end