Class: Qrfy::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/qrfy/configuration.rb

Overview

# Configuration

A way to store connection configuration such as api_key or http adapter.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



12
13
14
15
# File 'lib/qrfy/configuration.rb', line 12

def initialize
  @api_key = nil
  @adapter = nil
end

Instance Attribute Details

#adapterObject

Returns the value of attribute adapter.



10
11
12
# File 'lib/qrfy/configuration.rb', line 10

def adapter
  @adapter
end

#api_keyObject

Returns the value of attribute api_key.



10
11
12
# File 'lib/qrfy/configuration.rb', line 10

def api_key
  @api_key
end