Module: K2Utilities

Included in:
K2Entity, K2Notification, K2Polling, K2Subscribe
Defined in:
lib/k2-connect-ruby/utilities.rb

Instance Method Summary collapse

Instance Method Details

#make_hash(path_url, request, access_token, class_type, body) ⇒ Object



13
14
15
16
17
18
19
20
21
# File 'lib/k2-connect-ruby/utilities.rb', line 13

def make_hash(path_url, request, access_token, class_type, body)
  {
      path_url: path_url,
      access_token: access_token,
      request_type: request,
      class_type: class_type,
      params: body
  }.with_indifferent_access
end