Module: Barchart
- Defined in:
- lib/barchart.rb,
lib/barchart/request.rb,
lib/barchart/version.rb,
lib/barchart/configuration.rb,
lib/barchart/resources/quote.rb,
lib/barchart/resources/history.rb,
lib/barchart/resources/resource.rb
Defined Under Namespace
Classes: Configuration, History, Quote, Request, Resource
Constant Summary
collapse
- VERSION =
"0.0.1"
Class Attribute Summary collapse
Class Method Summary
collapse
Class Attribute Details
.configuration ⇒ Object
6
7
8
|
# File 'lib/barchart/configuration.rb', line 6
def self.configuration
@configuration ||= Configuration.new
end
|
Class Method Details
10
11
12
|
# File 'lib/barchart/configuration.rb', line 10
def self.configure
yield(configuration)
end
|
.reset_configuration! ⇒ Object
14
15
16
|
# File 'lib/barchart/configuration.rb', line 14
def self.reset_configuration!
@configuration = Configuration.new
end
|