Class: ShipHero::Services::BaseService

Inherits:
Object
  • Object
show all
Defined in:
lib/ship_hero/services/base_service.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_keyObject

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