Class: ShipHero::Services::BaseService
- Inherits:
-
Object
- Object
- ShipHero::Services::BaseService
- Defined in:
- lib/ship_hero/services/base_service.rb
Direct Known Subclasses
OrderService, ProductService, ShipmentService, WebhookService
Instance Attribute Summary collapse
-
#api_key ⇒ Object
Returns the value of attribute api_key.
Instance Method Summary collapse
-
#initialize(api_key) ⇒ BaseService
constructor
A new instance of BaseService.
Constructor Details
#initialize(api_key) ⇒ BaseService
Returns a new instance of BaseService.
11 12 13 |
# File 'lib/ship_hero/services/base_service.rb', line 11 def initialize(api_key) @api_key = api_key end |
Instance Attribute Details
#api_key ⇒ Object
Returns the value of attribute api_key.
9 10 11 |
# File 'lib/ship_hero/services/base_service.rb', line 9 def api_key @api_key end |