Class: EcwidApi::Api::Base
- Inherits:
-
Object
- Object
- EcwidApi::Api::Base
- Defined in:
- lib/ecwid_api/api/base.rb
Overview
Internal: A base class for common API functionality
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(client) ⇒ Base
constructor
Public: Initializes a new EcwidApi::CategoryApi.
Constructor Details
#initialize(client) ⇒ Base
Public: Initializes a new EcwidApi::CategoryApi
client - The EcwidApi::Client to use with the API
12 13 14 15 |
# File 'lib/ecwid_api/api/base.rb', line 12 def initialize(client) @client = client raise Error.new("The client cannot be nil") unless client end |