Module: Flexirest::JsonAPIProxy::Headers

Extended by:
Headers
Included in:
Headers
Defined in:
lib/flexirest/json_api_proxy.rb

Overview

Creating JSON API header

Instance Method Summary collapse

Instance Method Details

#save(headers) ⇒ Object



175
176
177
178
179
# File 'lib/flexirest/json_api_proxy.rb', line 175

def save(headers)
  # Save headers used in a request for building lazy association
  # loaders when parsing the response
  @headers = headers
end