Class: BitrixWebhook::Config::Configuration
- Inherits:
-
Object
- Object
- BitrixWebhook::Config::Configuration
- Defined in:
- lib/bitrix_webhook/config.rb
Instance Attribute Summary collapse
-
#bitrix24_url ⇒ Object
Returns the value of attribute bitrix24_url.
-
#hook ⇒ Object
Returns the value of attribute hook.
-
#webhook_user ⇒ Object
Returns the value of attribute webhook_user.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
17 18 19 20 21 |
# File 'lib/bitrix_webhook/config.rb', line 17 def initialize @bitrix24_url= 'bitrix24_url' @hook = 'hook' @webhook_user = 'id' end |
Instance Attribute Details
#bitrix24_url ⇒ Object
Returns the value of attribute bitrix24_url.
13 14 15 |
# File 'lib/bitrix_webhook/config.rb', line 13 def bitrix24_url @bitrix24_url end |
#hook ⇒ Object
Returns the value of attribute hook.
14 15 16 |
# File 'lib/bitrix_webhook/config.rb', line 14 def hook @hook end |
#webhook_user ⇒ Object
Returns the value of attribute webhook_user.
15 16 17 |
# File 'lib/bitrix_webhook/config.rb', line 15 def webhook_user @webhook_user end |