Class: FakeGrid::Cli
- Inherits:
-
Thor
- Object
- Thor
- FakeGrid::Cli
- Defined in:
- lib/fakegrid.rb
Instance Method Summary collapse
Instance Method Details
#fake_sendgrid(server) ⇒ Object
13 14 15 16 17 |
# File 'lib/fakegrid.rb', line 13 def fake_sendgrid(server) dest = "http://#{server}/api/sendgrid/event" fake = FakeSendgrid.new dest, cr_id: [:cr_id], email: [:email], event: [:event] puts "Success #{fake.process!}" if fake.process! end |