Class: SlackItcAutoingestion::Configuration
- Inherits:
-
Object
- Object
- SlackItcAutoingestion::Configuration
- Defined in:
- lib/slack_itc_autoingestion/configuration.rb
Instance Attribute Summary collapse
-
#itc_password ⇒ Object
Returns the value of attribute itc_password.
-
#itc_username ⇒ Object
Returns the value of attribute itc_username.
-
#itc_vendor_id ⇒ Object
Returns the value of attribute itc_vendor_id.
-
#slack_command ⇒ Object
Returns the value of attribute slack_command.
-
#slack_token ⇒ Object
Returns the value of attribute slack_token.
-
#slack_webhook_url ⇒ Object
Returns the value of attribute slack_webhook_url.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
11 12 13 14 15 16 17 18 |
# File 'lib/slack_itc_autoingestion/configuration.rb', line 11 def initialize @itc_username = ENV['ITUNES_CONNECT_USERNAME'] @itc_password = ENV['ITUNES_CONNECT_PASSWORD'] @itc_vendor_id = ENV['ITUNES_CONNECT_VENDOR_ID'] @slack_token = ENV['SLACK_TOKEN'] @slack_webhook_url = ENV['SLACK_WEBHOOK_URL'] @slack_command = '/itc' end |
Instance Attribute Details
#itc_password ⇒ Object
Returns the value of attribute itc_password.
5 6 7 |
# File 'lib/slack_itc_autoingestion/configuration.rb', line 5 def itc_password @itc_password end |
#itc_username ⇒ Object
Returns the value of attribute itc_username.
4 5 6 |
# File 'lib/slack_itc_autoingestion/configuration.rb', line 4 def itc_username @itc_username end |
#itc_vendor_id ⇒ Object
Returns the value of attribute itc_vendor_id.
6 7 8 |
# File 'lib/slack_itc_autoingestion/configuration.rb', line 6 def itc_vendor_id @itc_vendor_id end |
#slack_command ⇒ Object
Returns the value of attribute slack_command.
9 10 11 |
# File 'lib/slack_itc_autoingestion/configuration.rb', line 9 def slack_command @slack_command end |
#slack_token ⇒ Object
Returns the value of attribute slack_token.
7 8 9 |
# File 'lib/slack_itc_autoingestion/configuration.rb', line 7 def slack_token @slack_token end |
#slack_webhook_url ⇒ Object
Returns the value of attribute slack_webhook_url.
8 9 10 |
# File 'lib/slack_itc_autoingestion/configuration.rb', line 8 def slack_webhook_url @slack_webhook_url end |