Class: WCC::Data::Config::Application
- Inherits:
-
Object
- Object
- WCC::Data::Config::Application
- Defined in:
- lib/wcc/data/config.rb
Instance Attribute Summary collapse
-
#connection ⇒ Object
Returns the value of attribute connection.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#uri ⇒ Object
Returns the value of attribute uri.
Instance Method Summary collapse
-
#initialize(name, connection: Faraday::Connection.new) ⇒ Application
constructor
A new instance of Application.
- #service ⇒ Object
Constructor Details
#initialize(name, connection: Faraday::Connection.new) ⇒ Application
Returns a new instance of Application.
30 31 32 33 |
# File 'lib/wcc/data/config.rb', line 30 def initialize(name, connection: Faraday::Connection.new) @name = name @connection = connection end |
Instance Attribute Details
#connection ⇒ Object
Returns the value of attribute connection.
28 29 30 |
# File 'lib/wcc/data/config.rb', line 28 def connection @connection end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
27 28 29 |
# File 'lib/wcc/data/config.rb', line 27 def name @name end |
#uri ⇒ Object
Returns the value of attribute uri.
27 28 29 |
# File 'lib/wcc/data/config.rb', line 27 def uri @uri end |