Class: Cloopen::REST::AccountInfo

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

Instance Attribute Summary

Attributes inherited from InstanceResource

#uri

Instance Method Summary collapse

Methods inherited from InstanceResource

#initialize, #inspect

Methods included from Utils

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

Constructor Details

This class inherits a constructor from Cloopen::REST::InstanceResource

Instance Method Details

#getObject



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

def get
  raise "Can't create a resource without a REST Client" unless @client
  response = @client.get self
  self.class.new @uri, @client, response
end