Class: CurbFu::Request::Test::Interface
- Includes:
- Rack::Test::Methods
- Defined in:
- lib/curb-fu/request/test.rb
Instance Attribute Summary collapse
-
#app ⇒ Object
Returns the value of attribute app.
-
#hostname ⇒ Object
Returns the value of attribute hostname.
Instance Method Summary collapse
-
#initialize(app, hostname = 'example.org') ⇒ Interface
constructor
A new instance of Interface.
Constructor Details
#initialize(app, hostname = 'example.org') ⇒ Interface
Returns a new instance of Interface.
146 147 148 149 |
# File 'lib/curb-fu/request/test.rb', line 146 def initialize(app, hostname = 'example.org') self.app = app self.hostname = hostname end |