Sha256: 86ad91f77dc85d3c58a0a1654838ba3445255b0ec3736e9ee743503f05826225

Contents?: true

Size: 637 Bytes

Versions: 2

Compression:

Stored size: 637 Bytes

Contents

require_relative 'json_base'
module CorePro
  module Models
    class ProgramECode < JsonBase

      def is_hash?
        true
      end

      attr_accessor :category
      attr_accessor :type
      attr_accessor :programECodeId
      attr_accessor :productCode
      attr_accessor :minimumAmount
      attr_accessor :maximumAmount
      attr_accessor :name
      attr_accessor :imageUrl
      attr_accessor :isReissueSupported

      def initialize
        super
      end

      def from_json! json, classDefs
        classDefs = classDefs || {}

        super json, classDefs
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
corepro-1.0.1 lib/corepro/models/program_e_code.rb
corepro-1.0.0 lib/corepro/models/program_e_code.rb