Class: BitrixWebhook::Config::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_urlObject

Returns the value of attribute bitrix24_url.



13
14
15
# File 'lib/bitrix_webhook/config.rb', line 13

def bitrix24_url
  @bitrix24_url
end

#hookObject

Returns the value of attribute hook.



14
15
16
# File 'lib/bitrix_webhook/config.rb', line 14

def hook
  @hook
end

#webhook_userObject

Returns the value of attribute webhook_user.



15
16
17
# File 'lib/bitrix_webhook/config.rb', line 15

def webhook_user
  @webhook_user
end