Sha256: e647359469d21000019508b199bd4cf5cbef9b607f2dfb7893baf1d304acc6dd

Contents?: true

Size: 462 Bytes

Versions: 11

Compression:

Stored size: 462 Bytes

Contents

# -*- coding: utf-8 -*-
module Mushikago
  module Mitsubachi
    class ProjectInfoRequest < Mushikago::Http::GetRequest
      def path; '/1/mitsubachi/project/info' end
      request_parameter :project_name
      request_parameter :time do |v| v.to_i.to_s end

      def initialize project_name, options={}
        super(options)
        self.project_name = project_name
        self.time = options[:time] if options.has_key?(:time)
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
mushikago-sdk-2.4.1 lib/mushikago/mitsubachi/project_info_request.rb
mushikago-sdk-2.4 lib/mushikago/mitsubachi/project_info_request.rb
mushikago-sdk-2.2 lib//mushikago/mitsubachi/project_info_request.rb
mushikago-sdk-2.1.1 lib/mushikago/mitsubachi/project_info_request.rb
mushikago-sdk-2.1.0 lib/mushikago/mitsubachi/project_info_request.rb
mushikago-sdk-2.0.0 lib/mushikago/mitsubachi/project_info_request.rb
mushikago-sdk-0.4.3 lib/mushikago/mitsubachi/project_info_request.rb
mushikago-sdk-0.4.2 lib/mushikago/mitsubachi/project_info_request.rb
mushikago-sdk-0.4.1 lib/mushikago/mitsubachi/project_info_request.rb
mushikago-sdk-0.4.0 lib/mushikago/mitsubachi/project_info_request.rb
mushikago-sdk-0.3.7 lib/mushikago/mitsubachi/project_info_request.rb