Class: Argonuts::Client

Inherits:
Object
  • Object
show all
Defined in:
lib/argonuts/client.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ Client

Returns a new instance of Client.



13
14
15
16
17
# File 'lib/argonuts/client.rb', line 13

def initialize(options = {})
  @api_key = options[:api_key]
  # @region = options[:region]
  @endpoint = options[:endpoint]
end

Instance Attribute Details

#api_keyObject

, :region



11
12
13
# File 'lib/argonuts/client.rb', line 11

def api_key
  @api_key
end

#endpointObject

, :region



11
12
13
# File 'lib/argonuts/client.rb', line 11

def endpoint
  @endpoint
end