Method: Hachi::Clients::Base#initialize
- Defined in:
- lib/hachi/clients/base.rb
#initialize(api_endpoint:, api_key:) ⇒ Base
Returns a new instance of Base.
12 13 14 15 |
# File 'lib/hachi/clients/base.rb', line 12 def initialize(api_endpoint:, api_key:) @api_endpoint = URI(api_endpoint) @api_key = api_key end |