Sha256: cc949fd9480e1d89a1aecf9a6a7c66ed6f0c34635806eff8186ce8125adf0fef

Contents?: true

Size: 311 Bytes

Versions: 6

Compression:

Stored size: 311 Bytes

Contents

module Ebanx
  module Command
    class Zipcode < Command
      def initialize(params)
        @params         = params
        @request_method = :get
        @request_action = 'zipcode'
        @response_type  = :json
      end

      def validate
        validate_presence :zipcode
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ebanx-1.3.1 lib/ebanx/command/zipcode.rb
ebanx-1.3.0 lib/ebanx/command/zipcode.rb
ebanx-1.2.0 lib/ebanx/command/zipcode.rb
ebanx-1.1.0 lib/ebanx/command/zipcode.rb
ebanx-1.0.2 lib/ebanx/command/zipcode.rb
ebanx-1.0.0 lib/ebanx/command/zipcode.rb