Sha256: c853c6501ee4b0e70b5a7fb91f0b444f3b0359298dbef2a3c05b20b0c4847b99

Contents?: true

Size: 598 Bytes

Versions: 13

Compression:

Stored size: 598 Bytes

Contents

# -*- coding: utf-8 -*-
module Mushikago
  module Mitsubachi
    class ProjectListRequest < Mushikago::Http::GetRequest
      def path; '/1/mitsubachi/project/list' end
      request_parameter :limit do |v| v.to_i.to_s end
      request_parameter :offset do |v| v.to_i.to_s end
      request_parameter :filter

      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)
      end
    end
  end
end



Version data entries

13 entries across 13 versions & 1 rubygems

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