Class: Shanon::Clients::VisitorClient
- Inherits:
-
AbstractClient
- Object
- AbstractClient
- Shanon::Clients::VisitorClient
- Includes:
- Authenticatable
- Defined in:
- lib/shanon/clients/visitor_client.rb
Constant Summary collapse
- PATH =
'/services/rest/visitor'.freeze
Instance Attribute Summary
Attributes inherited from AbstractClient
Instance Method Summary collapse
-
#get(opts = {}) ⇒ Object
opts = { search_key1: ‘DateRegist’, search_operator1: ‘lt’, search_value1: ‘2018-01-01T00:00:00+09:00’ }.
Methods included from Authenticatable
Methods inherited from AbstractClient
Constructor Details
This class inherits a constructor from Shanon::AbstractClient
Instance Method Details
#get(opts = {}) ⇒ Object
opts =
search_key1: 'DateRegist',
search_operator1: 'lt',
search_value1: '2018-01-01T00:00:00+09:00'
13 14 15 16 17 |
# File 'lib/shanon/clients/visitor_client.rb', line 13 def get(opts={}) params = params_with_signature(opts) response = conn.get PATH, params response.body end |