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.
49 50 51 |
# File 'lib/shark/configuration.rb', line 49 def initialize @headers = {} end |
Instance Attribute Details
#headers ⇒ Object
Returns the value of attribute headers.
47 48 49 |
# File 'lib/shark/configuration.rb', line 47 def headers @headers end |
#site ⇒ Object
Returns the value of attribute site.
46 47 48 |
# File 'lib/shark/configuration.rb', line 46 def site @site end |