Class: Cloopen::REST::Account

Inherits:
InstanceResource show all
Defined in:
lib/cloopen/rest/account.rb

Instance Attribute Summary

Attributes inherited from InstanceResource

#uri

Instance Method Summary collapse

Methods inherited from InstanceResource

#inspect

Methods included from Utils

#beautify_hash, #build_body, #cloopfy, #decloopfy, #downcase_first, #prase_body

Constructor Details

#initialize(uri, cilent) ⇒ Account

Returns a new instance of Account.



4
5
6
7
# File 'lib/cloopen/rest/account.rb', line 4

def initialize(uri, cilent)
  super uri, cilent
  resource :account_info, :sms, :calls, :sub_accounts
end