Module: Venda

Defined in:
lib/venda.rb,
lib/venda/version.rb,
lib/venda/data_lake_write.rb

Defined Under Namespace

Classes: DataLake, Error

Constant Summary collapse

VERSION =
"0.1.0"

Class Method Summary collapse

Class Method Details

.track(args = {}) ⇒ Object



11
12
13
14
15
# File 'lib/venda.rb', line 11

def self.track(args = {})
  DataLake.write({ name: args[:name], amount: args[:amount], description: args[:description] })
rescue StandardError
  nil
end