Class: FinnhubRuby::Configuration
- Inherits:
-
Object
- Object
- FinnhubRuby::Configuration
- Defined in:
- lib/finnhub_ruby.rb
Instance Attribute Summary collapse
-
#api_key ⇒ Object
Returns the value of attribute api_key.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
30 31 32 |
# File 'lib/finnhub_ruby.rb', line 30 def initialize @api_key = {} end |
Instance Attribute Details
#api_key ⇒ Object
Returns the value of attribute api_key.
28 29 30 |
# File 'lib/finnhub_ruby.rb', line 28 def api_key @api_key end |
Class Method Details
.default ⇒ Object
34 35 36 |
# File 'lib/finnhub_ruby.rb', line 34 def self.default @default ||= Configuration.new end |