Class: Bskyrb::ComAtprotoServerListapppasswords::ListAppPasswords::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

#passwordsObject

Returns the value of attribute passwords.



5544
5545
5546
# File 'lib/bskyrb/generated_classes.rb', line 5544

def passwords
  @passwords
end

Class Method Details

.from_hash(hash) ⇒ Object



5546
5547
5548
5549
5550
5551
5552
5553
# File 'lib/bskyrb/generated_classes.rb', line 5546

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

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

  instance
end

Instance Method Details

#to_hObject



5555
5556
5557
5558
5559
5560
5561
# File 'lib/bskyrb/generated_classes.rb', line 5555

def to_h
  {

    "passwords" => passwords

  }
end