Sha256: 993241335beaecf2698021daec5299a2ffc3002f0409749efbf2bf2aba95f1eb

Contents?: true

Size: 598 Bytes

Versions: 12

Compression:

Stored size: 598 Bytes

Contents

# -*- coding: utf-8 -*-
module Mushikago
  module Hotaru
    class DictionaryListRequest < Mushikago::Http::GetRequest
      def path; '/1/hotaru/dictionary/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

12 entries across 12 versions & 1 rubygems

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