Class: EloquaApiService::User
- Defined in:
- lib/eloqua_api_service/user.rb
Constant Summary collapse
- BASE_PATH =
"/API/REST/1.0"
Instance Method Summary collapse
Methods inherited from Service
#initialize, #parse, #parse_body
Constructor Details
This class inherits a constructor from EloquaApiService::Service
Instance Method Details
#all ⇒ Object
11 12 13 |
# File 'lib/eloqua_api_service/user.rb', line 11 def all parse(self.class.get("#{BASE_PATH}/system/users?depth=complete", )) end |
#find(id:) ⇒ Object
7 8 9 |
# File 'lib/eloqua_api_service/user.rb', line 7 def find(id:) parse(self.class.get("#{BASE_PATH}/system/user/#{id}?depth=complete", )) end |