Class: Payture::Parser

Inherits:
Object
  • Object
show all
Defined in:
lib/payture/parser.rb

Instance Method Summary collapse

Instance Method Details

#parse(data) ⇒ Object

klass = nil def init(className)

klass = Object.const_get className

end



8
9
10
11
12
# File 'lib/payture/parser.rb', line 8

def parse(data)
  data.each do |k,v|
    puts "#{k}: #{v}"
  end
end