Sha256: e27f8911fa373c5261ad0169083cd9a33d6de1541c5885dab4de60166e2342c5

Contents?: true

Size: 267 Bytes

Versions: 21

Compression:

Stored size: 267 Bytes

Contents

module PagSeguro
  class Transaction
    class Phone
      attr_reader :phone

      def initialize(phone)
        @phone = phone
      end

      def area_code
        phone['areaCode']
      end

      def number
        phone['number']
      end
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

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