Sha256: 7d8543ac7aaa1beb60c79c6d951d2f384bb11cec5644edc5e0806919a285d378

Contents?: true

Size: 434 Bytes

Versions: 12

Compression:

Stored size: 434 Bytes

Contents

module Cobrato
  module Entities
    class Cnab < Base
      attribute :id,               Integer
      attribute :type,             String
      attribute :status,           String
      attribute :config_id,        Integer
      attribute :charge_config_id, Integer # DEPRECATED

      def charge_config_id
        puts "Warning: 'charge_config_id' is deprecated. Use 'config_id' instead."
        super
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
cobrato-client-0.24.1 lib/cobrato/entities/cnab.rb
cobrato-client-0.24.0 lib/cobrato/entities/cnab.rb
cobrato-client-0.23.0 lib/cobrato/entities/cnab.rb
cobrato-client-0.23.0.beta12 lib/cobrato/entities/cnab.rb
cobrato-client-0.23.0.beta11 lib/cobrato/entities/cnab.rb
cobrato-client-0.23.0.beta10 lib/cobrato/entities/cnab.rb
cobrato-client-0.23.0.beta9 lib/cobrato/entities/cnab.rb
cobrato-client-0.23.0.beta8 lib/cobrato/entities/cnab.rb
cobrato-client-0.23.0.beta7 lib/cobrato/entities/cnab.rb
cobrato-client-0.23.0.beta6 lib/cobrato/entities/cnab.rb
cobrato-client-0.23.0.beta5 lib/cobrato/entities/cnab.rb
cobrato-client-0.23.0.beta4 lib/cobrato/entities/cnab.rb