Sha256: 661ea8c0d31dbf85b7c9a53cfaefbff35d90d07f534a23628ec2ceabd4f3426a

Contents?: true

Size: 401 Bytes

Versions: 5

Compression:

Stored size: 401 Bytes

Contents

module Kinabo
  module Bradesco
    module Remessa
      class Boleto < Hashie::Dash
        include Hashie::Extensions::Dash::Coercion

        property :transacao, coerce: Transacao, required: true
        property :mensagem, coerce: Mensagem
        property :pagador, coerce: Pagador

        def build
          [transacao, mensagem, pagador].map(&:build)
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
kinabo-0.5.0 lib/kinabo/bradesco/remessa/boleto.rb
kinabo-0.4.0 lib/kinabo/bradesco/remessa/boleto.rb
kinabo-0.3.0 lib/kinabo/bradesco/remessa/boleto.rb
kinabo-0.2.0 lib/kinabo/bradesco/remessa/boleto.rb
kinabo-0.1.0 lib/kinabo/bradesco/remessa/boleto.rb