Sha256: 5ca82497663f4395202933cb0b3e094e0c4fb5612689b573154f75508e96f170

Contents?: true

Size: 312 Bytes

Versions: 4

Compression:

Stored size: 312 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

4 entries across 4 versions & 1 rubygems

Version Path
ebanx-1.3.5 lib/ebanx/command/zipcode.rb
ebanx-1.3.4 lib/ebanx/command/zipcode.rb
ebanx-1.3.3 lib/ebanx/command/zipcode.rb
ebanx-1.3.2 lib/ebanx/command/zipcode.rb