Sha256: 3b3a882a918da733d9879a6ebe668418addd2e987b35b0e6c3d9f227510c628e

Contents?: true

Size: 719 Bytes

Versions: 1

Compression:

Stored size: 719 Bytes

Contents

require_relative 'models/model_base'
require_relative 'utils/requestor'
module CorePro
  class Document < Models::ModelBase

    attr_accessor :bankId
    attr_accessor :customerId
    attr_accessor :documentId
    attr_accessor :documentType
    attr_accessor :culture
    attr_accessor :html
    attr_accessor :title
    attr_accessor :downloadUrl
    attr_accessor :effectiveDate
    attr_accessor :expireDate

    def self.list(cultureName, documentType = nil, connection = nil, loggingObject = nil)
      connection ||= Connection.createFromConfig()
      CorePro::Utils::Requestor.get("/document/list/#{cultureName}/#{documentType}", Document, connection, loggingObject)
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
corepro-0.0.4 lib/CorePro/document.rb