Sha256: bf9ae686cdb094f51a0907131c06e3478c006579860ef14efdd08f88ed583d75

Contents?: true

Size: 617 Bytes

Versions: 21

Compression:

Stored size: 617 Bytes

Contents

module PagSeguro
  class Transaction
    class Address
      attr_reader :address

      def initialize(address)
        @address = address
      end

      def street
        address['street']
      end

      def number
        address['number']
      end

      def complement
        address['complement']
      end

      def district
        address['district']
      end

      def postal_code
        address['postalCode']
      end

      def city
        address['city']
      end

      def state
        address['state']
      end

      def country
        address['country']
      end
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
pagseguro-transparente-1.1.0 lib/pagseguro/transaction/address.rb
pagseguro-transparente-1.0.1 lib/pagseguro/transaction/address.rb
pagseguro-transparente-1.0.0 lib/pagseguro/transaction/address.rb
pagseguro-transparente-0.2.5 lib/pagseguro/transaction/address.rb
pagseguro-transparente-0.2.4 lib/pagseguro/transaction/address.rb
pagseguro-transparente-0.2.3 lib/pagseguro/transaction/address.rb
pagseguro-transparente-0.2.2 lib/pagseguro/transaction/address.rb
pagseguro-transparente-0.2.1 lib/pagseguro/transaction/address.rb
pagseguro-transparente-0.2.0 lib/pagseguro/transaction/address.rb
pagseguro-transparente-0.1.3 lib/pagseguro/transaction/address.rb
pagseguro-transparente-0.1.2 lib/pagseguro/transaction/address.rb
pagseguro-transparente-0.1.1 lib/pagseguro/transaction/address.rb
pagseguro-transparente-0.1.0 lib/pagseguro/transaction/address.rb
pagseguro-transparente-0.0.9 lib/pagseguro/transaction/address.rb
pagseguro-transparente-0.0.8 lib/pagseguro/transaction/address.rb
pagseguro-transparente-0.0.7 lib/pagseguro/transaction/address.rb
pagseguro-transparente-0.0.6 lib/pagseguro/transaction/address.rb
pagseguro-transparente-0.0.5 lib/pagseguro/transaction/address.rb
pagseguro-transparente-0.0.4 lib/pagseguro/transaction/address.rb
pagseguro-transparente-0.0.3 lib/pagseguro/transaction/address.rb