Class: PCO::URL::Get

Inherits:
PCO::URL show all
Defined in:
lib/pco/url/get.rb

Constant Summary

Constants inherited from PCO::URL

VERSION

Instance Attribute Summary

Attributes inherited from PCO::URL

#app_name, #path, #query

Instance Method Summary collapse

Methods inherited from PCO::URL

decrypt_query_params, #domain, #hostname, method_missing, parse, #to_s, #uri

Constructor Details

#initialize(app_name: "get", path: nil, query: nil, encrypt_query_params: false, domain: nil) ⇒ Get

Returns a new instance of Get.



4
5
6
# File 'lib/pco/url/get.rb', line 4

def initialize(app_name: "get", path: nil, query: nil, encrypt_query_params: false, domain: nil)
  super
end

Instance Method Details

#schemeObject



8
9
10
# File 'lib/pco/url/get.rb', line 8

def scheme
  "http"
end