Class: MessagingGateway::Configuration
- Inherits:
-
Object
- Object
- MessagingGateway::Configuration
- Defined in:
- lib/messaging_gateway.rb
Instance Attribute Summary collapse
-
#server_path ⇒ Object
Returns the value of attribute server_path.
-
#server_url ⇒ Object
Returns the value of attribute server_url.
-
#token ⇒ Object
Returns the value of attribute token.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
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_path ⇒ Object
Returns the value of attribute server_path.
27 28 29 |
# File 'lib/messaging_gateway.rb', line 27 def server_path @server_path end |
#server_url ⇒ Object
Returns the value of attribute server_url.
27 28 29 |
# File 'lib/messaging_gateway.rb', line 27 def server_url @server_url end |
#token ⇒ Object
Returns the value of attribute token.
27 28 29 |
# File 'lib/messaging_gateway.rb', line 27 def token @token end |