Class: Bskyrb::ComAtprotoAdminEnableaccountinvites::EnableAccountInvites::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.



3600
3601
3602
# File 'lib/bskyrb/generated_classes.rb', line 3600

def 
  @account
end

Class Method Details

.from_hash(hash) ⇒ Object



3602
3603
3604
3605
3606
3607
3608
3609
# File 'lib/bskyrb/generated_classes.rb', line 3602

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

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

  instance
end

Instance Method Details

#to_hObject



3611
3612
3613
3614
3615
3616
3617
# File 'lib/bskyrb/generated_classes.rb', line 3611

def to_h
  {

    "account" => 

  }
end