vendor/bundle/ruby/2.3.0/gems/freelancer-0.1.1/lib/freelancer/client.rb
# Create a URI from the specified method and options
Create a URI from the specified method and options
Create a URI from the specified method and options
def to_uri(method, options)
      uri = URI.parse(method)
      unless options.nil? || options.empty?
        uri.query = to_query(options)
      end
      return uri.to_s
    end
def to_uri ( method , options ) uri = URI . parse ( method ) unless options . nil? || options . empty? uri . query = to_query ( options ) end return uri . to_s end
Create a URI from the specified method and options
Create a URI from the specified method and options
method
<not_specific>
options
<not_specific>