Class: Spoofer::API
- Inherits:
-
Sinatra::Base
- Object
- Sinatra::Base
- Spoofer::API
- Defined in:
- lib/spoofer/api.rb
Defined Under Namespace
Classes: APIRequest, Stub
Class Attribute Summary collapse
-
.host ⇒ Object
Returns the value of attribute host.
Instance Method Summary collapse
Class Attribute Details
.host ⇒ Object
Returns the value of attribute host.
6 7 8 |
# File 'lib/spoofer/api.rb', line 6 def host @host end |
Instance Method Details
#host ⇒ Object
9 10 11 |
# File 'lib/spoofer/api.rb', line 9 def host self.class.host end |