Sha256: 0370d5c84c25445df66ed19ee878ade4f509567049de0f8ffb6e7703be484382
Contents?: true
Size: 724 Bytes
Versions: 8
Compression:
Stored size: 724 Bytes
Contents
# -*- coding : utf-8 -*- module Mushikago module Hanamgri class RequestAnalysisRequest < Mushikago::Http::PutRequest def path; "/1/hanamgri/domains/#{domain_name}/analysis" end attr_accessor :domain_name request_parameter :url request_parameter :charset request_parameter :tag request_parameter :auto_feedback def initialize domain_name, url, options={} super(options) self.domain_name = domain_name self.url = url self.charset = options[:charset] if options.has_key?(:charset) self.tag = options[:tag] if options.has_key?(:tag) self.tag = options[:auto_feedback] if options.has_key?(:auto_feedback) end end end end
Version data entries
8 entries across 8 versions & 1 rubygems