Class: Akeneo::ServiceBase

Inherits:
Object
  • Object
show all
Includes:
Cache
Defined in:
lib/akeneo/service_base.rb

Constant Summary collapse

API_VERSION =
'v1'
DEFAULT_PAGINATION_TYPE =
:search_after
DEFAULT_PAGINATION_LIMIT =
100

Constants included from Cache

Cache::DEFAULT_EXPIRES_IN

Instance Method Summary collapse

Methods included from Cache

disabled=, prepended

Constructor Details

#initialize(url:, access_token:) ⇒ ServiceBase

Returns a new instance of ServiceBase.



16
17
18
19
# File 'lib/akeneo/service_base.rb', line 16

def initialize(url:, access_token:)
  @url = url
  @access_token = access_token
end