Module: RailsTwirp::UrlFor
- Extended by:
- ActiveSupport::Concern
- Includes:
- AbstractController::UrlFor
- Included in:
- Base
- Defined in:
- lib/rails_twirp/url_for.rb
Instance Method Summary collapse
Instance Method Details
#url_options ⇒ Object
11 12 13 14 15 16 17 |
# File 'lib/rails_twirp/url_for.rb', line 11 def @_url_options ||= { host: http_request.host, port: http_request.optional_port, protocol: http_request.protocol }.merge!(super).freeze end |