class EcwidApi::Api::Base

Internal: A base class for common API functionality

Attributes

client[R]

Public Class Methods

new(client) click to toggle source

Public: Initializes a new EcwidApi::CategoryApi

client - The EcwidApi::Client to use with the API

# 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