Class: JSONAPI::Consumer::Query::Create

Inherits:
Base
  • Object
show all
Defined in:
lib/jsonapi/consumer/query/create.rb

Instance Attribute Summary

Attributes inherited from Base

#headers, #klass, #params, #path

Instance Method Summary collapse

Methods inherited from Base

#initialize, #inspect, #request_method

Constructor Details

This class inherits a constructor from JSONAPI::Consumer::Query::Base

Instance Method Details

#build_params(args) ⇒ Object



5
6
7
# File 'lib/jsonapi/consumer/query/create.rb', line 5

def build_params(args)
  @params = {klass.json_key => args}
end