Class: Mimic::API
- Inherits:
-
Sinatra::Base
- Object
- Sinatra::Base
- Mimic::API
- Defined in:
- lib/mimic/api.rb
Defined Under Namespace
Classes: APIRequest
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.
7 8 9 |
# File 'lib/mimic/api.rb', line 7 def host @host end |
Instance Method Details
#host ⇒ Object
10 11 12 |
# File 'lib/mimic/api.rb', line 10 def host self.class.host end |