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
9 10 11 12 13 14 15 |
# File 'lib/rails_twirp/url_for.rb', line 9 def @_url_options ||= { host: http_request.host, port: http_request.optional_port, protocol: http_request.protocol }.merge!(super).freeze end |