Class: Mushikago::Hotaru::DomainCreateRequest
- Inherits:
-
Mushikago::Http::PostRequest
- Object
- Mushikago::Http::Request
- Mushikago::Http::PostRequest
- Mushikago::Hotaru::DomainCreateRequest
- Defined in:
- lib/mushikago/hotaru/domain_create_request.rb
Instance Attribute Summary
Attributes inherited from Mushikago::Http::Request
headers, host, params, path, port
Instance Method Summary (collapse)
-
- (DomainCreateRequest) initialize(domain_name, splitter, options = {})
constructor
A new instance of DomainCreateRequest.
- - (Object) path
Methods inherited from Mushikago::Http::PostRequest
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
- (DomainCreateRequest) initialize(domain_name, splitter, options = {})
A new instance of DomainCreateRequest
12 13 14 15 16 17 18 19 |
# File 'lib/mushikago/hotaru/domain_create_request.rb', line 12 def initialize domain_name, splitter, ={} super() self.domain_name = domain_name self.splitter = splitter self.description = [:description] if .has_key?(:description) self.dictionary_ids = [:dictionary_ids] if .has_key?(:dictionary_ids) self. = [:tags] if .has_key?(:tags) end |
Instance Method Details
- (Object) path
5 |
# File 'lib/mushikago/hotaru/domain_create_request.rb', line 5 def path; '/1/hotaru/domain/create' end |