Sha256: 2f30e38c03e93800352c1ce226a80f9247d273d6727fd0a5dae215bdab9f4054

Contents?: true

Size: 476 Bytes

Versions: 1

Compression:

Stored size: 476 Bytes

Contents

module Cobrato
  module Entities
    class Cnab < Base
      attribute :id,               Integer
      attribute :type,             String
      attribute :file_name,        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

1 entries across 1 versions & 1 rubygems

Version Path
cobrato-client-0.25.0 lib/cobrato/entities/cnab.rb