Module: Akeneo::Services
- Included in:
- API
- Defined in:
- lib/akeneo/services.rb
Instance Method Summary collapse
- #attribute_service ⇒ Object
- #authorization_service ⇒ Object
- #category_service ⇒ Object
- #family_service ⇒ Object
- #image_service ⇒ Object
- #measure_family_service ⇒ Object
- #media_files_service ⇒ Object
- #product_model_service ⇒ Object
- #product_service ⇒ Object
- #published_product_service ⇒ Object
Instance Method Details
#attribute_service ⇒ Object
20 21 22 |
# File 'lib/akeneo/services.rb', line 20 def attribute_service AttributeService.new(url: url, access_token: fresh_access_token) end |
#authorization_service ⇒ Object
16 17 18 |
# File 'lib/akeneo/services.rb', line 16 def @authorization_service ||= AuthorizationService.new(url: url) end |
#category_service ⇒ Object
24 25 26 |
# File 'lib/akeneo/services.rb', line 24 def category_service CategoryService.new(url: url, access_token: fresh_access_token) end |
#family_service ⇒ Object
28 29 30 |
# File 'lib/akeneo/services.rb', line 28 def family_service FamilyService.new(url: url, access_token: fresh_access_token) end |
#image_service ⇒ Object
32 33 34 |
# File 'lib/akeneo/services.rb', line 32 def image_service ImageService.new(url: url, access_token: fresh_access_token) end |
#measure_family_service ⇒ Object
36 37 38 |
# File 'lib/akeneo/services.rb', line 36 def measure_family_service MeasureFamilyService.new(url: url, access_token: fresh_access_token) end |
#media_files_service ⇒ Object
57 58 59 |
# File 'lib/akeneo/services.rb', line 57 def media_files_service MediaFilesService.new(url: url, access_token: fresh_access_token) end |
#product_model_service ⇒ Object
49 50 51 |
# File 'lib/akeneo/services.rb', line 49 def product_model_service ProductModelService.new(url: url, access_token: fresh_access_token) end |
#product_service ⇒ Object
40 41 42 43 44 45 46 47 |
# File 'lib/akeneo/services.rb', line 40 def product_service ProductService.new( url: url, access_token: fresh_access_token, product_model_service: product_model_service, family_service: family_service ) end |
#published_product_service ⇒ Object
53 54 55 |
# File 'lib/akeneo/services.rb', line 53 def published_product_service PublishedProductService.new(url: url, access_token: fresh_access_token) end |