Sha256: e89d6adddbfa2108794277ba79471a765f9605d863406bd62247919f38606450

Contents?: true

Size: 476 Bytes

Versions: 12

Compression:

Stored size: 476 Bytes

Contents

module Cobrato
  module Entities
    class Cnab < Base
      attribute :id,               Integer
      attribute :type,             String
      attribute :filename,         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-1.1.7 lib/cobrato/entities/cnab.rb
cobrato-client-1.1.6 lib/cobrato/entities/cnab.rb
cobrato-client-1.1.5 lib/cobrato/entities/cnab.rb
cobrato-client-1.1.4 lib/cobrato/entities/cnab.rb
cobrato-client-1.1.3 lib/cobrato/entities/cnab.rb
cobrato-client-1.1.2 lib/cobrato/entities/cnab.rb
cobrato-client-1.1.1 lib/cobrato/entities/cnab.rb
cobrato-client-1.1.0 lib/cobrato/entities/cnab.rb
cobrato-client-1.0.1 lib/cobrato/entities/cnab.rb
cobrato-client-1.0.0 lib/cobrato/entities/cnab.rb
cobrato-client-0.27.0 lib/cobrato/entities/cnab.rb
cobrato-client-0.26.0 lib/cobrato/entities/cnab.rb