lib/event_inventory/base.rb
# Builds the base URL from the endpoint and operation. If the method is
# GET, the query values are appended.
Builds the base URL from the endpoint and operation. If the method is
GET, the query values are appended.
Builds the base URL from the endpoint and operation . If the method is GET the query values are appended .
def url
        base_url = "#{endpoint(@action.service)}/#{@action.operation}"
        base_url << "?#{query(@action.operation)}" if @action.method == :get
        base_url
      end
def url base_url = "#{endpoint(@action.service)}/#{@action.operation}" base_url << "?#{query(@action.operation)}" if @action . method == :get base_url end
Builds the base URL from the endpoint and operation.
Builds the base URL from the endpoint and operation .