Class: Shark::Configuration::Service
- Inherits:
-
Object
- Object
- Shark::Configuration::Service
- Defined in:
- lib/shark/configuration.rb
Instance Attribute Summary collapse
-
#headers ⇒ Object
Returns the value of attribute headers.
-
#site ⇒ Object
Returns the value of attribute site.
Instance Method Summary collapse
-
#initialize ⇒ Service
constructor
A new instance of Service.
Constructor Details
#initialize ⇒ Service
Returns a new instance of Service.
43 44 45 |
# File 'lib/shark/configuration.rb', line 43 def initialize @headers = {} end |
Instance Attribute Details
#headers ⇒ Object
Returns the value of attribute headers.
41 42 43 |
# File 'lib/shark/configuration.rb', line 41 def headers @headers end |
#site ⇒ Object
Returns the value of attribute site.
40 41 42 |
# File 'lib/shark/configuration.rb', line 40 def site @site end |