Class: Shanon::Clients::EnqueteClient

Inherits:
AbstractClient show all
Includes:
Authenticatable
Defined in:
lib/shanon/clients/enquete_client.rb

Overview

Constant Summary collapse

PATH =
'/services/rest/visitor/enquete'.freeze

Instance Attribute Summary

Attributes inherited from AbstractClient

#conn, #secrets, #token

Instance Method Summary collapse

Methods included from Authenticatable

#get_token

Methods inherited from AbstractClient

#initialize

Constructor Details

This class inherits a constructor from Shanon::AbstractClient

Instance Method Details

#get(opts = {}) ⇒ Object



9
10
11
12
13
# File 'lib/shanon/clients/enquete_client.rb', line 9

def get(opts={})
  params = params_with_signature(opts)
  response = conn.get PATH, params
  response.body
end