Module: Mirakl::ApiOperations::Request

Included in:
Requests::DR11, Requests::DR12, Requests::DR74, Requests::S07, Requests::S20
Defined in:
lib/mirakl/api_operations/request.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(base) ⇒ Object



43
44
45
# File 'lib/mirakl/api_operations/request.rb', line 43

def self.included(base)
  base.extend(ClassMethods)
end

Instance Method Details

#request(method, url, params = {}, opts = {}) ⇒ Object



47
48
49
50
51
# File 'lib/mirakl/api_operations/request.rb', line 47

def request(method, url, params = {}, opts = {})
  # opts = @opts.merge(Util.normalize_opts(opts))
  opts = Util.normalize_opts(opts)
  self.class.request(method, url, params, opts)
end