Class: Mirakl::Requests::S20
- Inherits:
-
Object
- Object
- Mirakl::Requests::S20
- Includes:
- ApiOperations::Request
- Defined in:
- lib/mirakl/requests/s20.rb
Constant Summary collapse
- API_PATH =
'shops'
Class Method Summary collapse
Methods included from ApiOperations::Request
Class Method Details
.call(params = {}, opts = {}) ⇒ Object
10 11 12 13 14 15 |
# File 'lib/mirakl/requests/s20.rb', line 10 def self.call(params = {}, opts = {}) resp, opts = request(:get, API_PATH, params, opts) obj = MiraklObject.construct_from(resp.data, opts) obj end |