class FakeGrid::Cli

Public Instance Methods

fake_sendgrid(server) click to toggle source
# File lib/fakegrid.rb, line 13
def fake_sendgrid(server)
  dest = "http://#{server}/api/sendgrid/event"
  fake = FakeSendgrid.new dest, cr_id: options[:cr_id], email: options[:email], event: options[:event]
  puts "Success #{fake.process!}" if fake.process!
end