Class: Messenger::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/messenger/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(verify_token: nil, page_access_token: nil) ⇒ Configuration

Returns a new instance of Configuration.



5
6
7
8
# File 'lib/messenger/configuration.rb', line 5

def initialize(verify_token: nil, page_access_token: nil)
  @verify_token = verify_token
  @page_access_token = page_access_token
end

Instance Attribute Details

#page_access_tokenObject

Returns the value of attribute page_access_token.



3
4
5
# File 'lib/messenger/configuration.rb', line 3

def page_access_token
  @page_access_token
end

#verify_tokenObject

Returns the value of attribute verify_token.



3
4
5
# File 'lib/messenger/configuration.rb', line 3

def verify_token
  @verify_token
end