Class: Akeneo::ServiceBase
- Inherits:
-
Object
- Object
- Akeneo::ServiceBase
- Includes:
- Cache
- Defined in:
- lib/akeneo/service_base.rb
Direct Known Subclasses
AttributeService, AuthorizationService, CategoryService, FamilyService, ImageService, MeasureFamilyService, MediaFilesService, ProductModelService, ProductService, PublishedProductService
Constant Summary collapse
- API_VERSION =
'v1'
- DEFAULT_PAGINATION_TYPE =
:search_after
- DEFAULT_PAGINATION_LIMIT =
100
Constants included from Cache
Instance Method Summary collapse
-
#initialize(url:, access_token:) ⇒ ServiceBase
constructor
A new instance of ServiceBase.
Methods included from Cache
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 |