Module: Viglink
- Defined in:
- lib/viglink.rb,
lib/viglink/rate.rb,
lib/viglink/version.rb,
lib/viglink/merchant.rb,
lib/viglink/api_error.rb,
lib/viglink/http_client.rb,
lib/viglink/configuration.rb,
lib/viglink/industry_type.rb
Defined Under Namespace
Classes: APIError, Configuration, HTTPClient, IndustryType, Merchant, MerchantResults, Rate
Constant Summary
collapse
- VERSION =
'0.1.1'
Class Attribute Summary collapse
Class Method Summary
collapse
Class Attribute Details
.configuration ⇒ Object
8
9
10
|
# File 'lib/viglink/configuration.rb', line 8
def self.configuration
@configuration ||= Configuration.new
end
|
Class Method Details
12
13
14
|
# File 'lib/viglink/configuration.rb', line 12
def self.configure
yield(configuration)
end
|
.reset ⇒ Object
16
17
18
|
# File 'lib/viglink/configuration.rb', line 16
def self.reset
@configuration = Configuration.new
end
|