Class: Limbo::Rails::Request
- Inherits:
-
Object
- Object
- Limbo::Rails::Request
- Defined in:
- lib/limbo/rails/request.rb
Instance Method Summary collapse
-
#initialize(request) ⇒ Request
constructor
A new instance of Request.
- #url ⇒ Object
Constructor Details
#initialize(request) ⇒ Request
Returns a new instance of Request.
4 5 6 |
# File 'lib/limbo/rails/request.rb', line 4 def initialize(request) @request = request end |
Instance Method Details
#url ⇒ Object
8 9 10 |
# File 'lib/limbo/rails/request.rb', line 8 def url "#{@request.protocol}#{@request.host_with_port}#{@request.fullpath}" end |