class YDIM::Invoice::Info

Constants

KEYS

Public Class Methods

new(invoice) click to toggle source
# File lib/ydim/invoice.rb, line 18
def initialize(invoice)
        KEYS.each { |key|
                instance_variable_set("@#{key}", invoice.send(key))
        }
end