Class: Mushikago::Hotaru::DomainListRequest

Inherits:
Mushikago::Http::GetRequest show all
Defined in:
lib/mushikago/hotaru/domain_list_request.rb

Instance Attribute Summary

Attributes inherited from Mushikago::Http::Request

headers, host, params, path, port

Instance Method Summary (collapse)

Methods inherited from Mushikago::Http::GetRequest

#http_method

Methods included from Auth::Signature

#add_signature!, #string_to_sign

Methods inherited from Mushikago::Http::Request

#[], #[]=, add_param, #to_http_request, #url_encoded_params

Constructor Details

- (DomainListRequest) initialize(options = {})

A new instance of DomainListRequest



11
12
13
14
15
16
17
# File 'lib/mushikago/hotaru/domain_list_request.rb', line 11

def initialize options={}
  super(options)
  self.limit = options[:limit] if options.has_key?(:limit)
  self.offset = options[:offset] if options.has_key?(:offset)
  self.filter = options[:filter] if options.has_key?(:filter)
  self.status = options[:status] if options.has_key?(:status)
end

Instance Method Details

- (Object) path



5
# File 'lib/mushikago/hotaru/domain_list_request.rb', line 5

def path; '/1/hotaru/domain/list' end