Class: DataPitcher::Configuration
- Inherits:
-
Object
- Object
- DataPitcher::Configuration
- Defined in:
- lib/data_pitcher/configuration.rb
Instance Attribute Summary collapse
-
#data_pitcher_yaml_path ⇒ Object
Returns the value of attribute data_pitcher_yaml_path.
-
#google_service_account_json_path ⇒ Object
Returns the value of attribute google_service_account_json_path.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
6 7 8 9 |
# File 'lib/data_pitcher/configuration.rb', line 6 def initialize @google_service_account_json_path = Rails.root.join('config', 'service_account.json') @data_pitcher_yaml_path = Rails.root.join('config', 'data_pitcher.yml') end |
Instance Attribute Details
#data_pitcher_yaml_path ⇒ Object
Returns the value of attribute data_pitcher_yaml_path.
4 5 6 |
# File 'lib/data_pitcher/configuration.rb', line 4 def data_pitcher_yaml_path @data_pitcher_yaml_path end |
#google_service_account_json_path ⇒ Object
Returns the value of attribute google_service_account_json_path.
3 4 5 |
# File 'lib/data_pitcher/configuration.rb', line 3 def google_service_account_json_path @google_service_account_json_path end |