Class: MessagingGateway::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



29
30
31
32
# File 'lib/messaging_gateway.rb', line 29

def initialize
  @server_url = 'localhost:3001'
  @server_path = '/api/v1/items'
end

Instance Attribute Details

#server_pathObject

Returns the value of attribute server_path.



27
28
29
# File 'lib/messaging_gateway.rb', line 27

def server_path
  @server_path
end

#server_urlObject

Returns the value of attribute server_url.



27
28
29
# File 'lib/messaging_gateway.rb', line 27

def server_url
  @server_url
end

#tokenObject

Returns the value of attribute token.



27
28
29
# File 'lib/messaging_gateway.rb', line 27

def token
  @token
end