Sha256: 4883217b63521d28c7d28f5d05ab4d45bda5ba71aa913e986370ba4682ed4001

Contents?: true

Size: 432 Bytes

Versions: 1

Compression:

Stored size: 432 Bytes

Contents

require "chh_moretext/request"
require "chh_moretext/configuration"
require "faraday_middleware"
require "chh_moretext/version"

module ChhMoretext
  class Base
    extend Request

    private
      def self.parse(type)
        case type
        when Range   then {:limit => "#{type.min},#{type.max}"}
        when Integer then {:limit => "#{type}"}
        else nil
        end
      end
  end
end

require "chh_moretext/moretext"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
chh_moretext-0.1.7 lib/chh_moretext.rb