Class: Firekassa::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/firekassa/config.rb

Overview

Configuration storage

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

Returns a new instance of Config.



8
9
10
11
12
# File 'lib/firekassa/config.rb', line 8

def initialize
  @base_url = nil
  @api_token = nil
  @faraday_block = nil
end

Instance Attribute Details

#api_tokenObject

Returns the value of attribute api_token.



6
7
8
# File 'lib/firekassa/config.rb', line 6

def api_token
  @api_token
end

#base_urlObject

Returns the value of attribute base_url.



6
7
8
# File 'lib/firekassa/config.rb', line 6

def base_url
  @base_url
end

#faraday_blockObject

Returns the value of attribute faraday_block.



6
7
8
# File 'lib/firekassa/config.rb', line 6

def faraday_block
  @faraday_block
end