Class: Bskyrb::ComAtprotoAdminDisableaccountinvites::DisableAccountInvites::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

#accountObject

Returns the value of attribute account.



3544
3545
3546
# File 'lib/bskyrb/generated_classes.rb', line 3544

def 
  @account
end

Class Method Details

.from_hash(hash) ⇒ Object



3546
3547
3548
3549
3550
3551
3552
3553
# File 'lib/bskyrb/generated_classes.rb', line 3546

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

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

  instance
end

Instance Method Details

#to_hObject



3555
3556
3557
3558
3559
3560
3561
# File 'lib/bskyrb/generated_classes.rb', line 3555

def to_h
  {

    "account" => 

  }
end