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