Module: SendGridWebApi::Modules
- Included in:
- Client
- Defined in:
- lib/web_api/mail.rb,
lib/web_api/spam.rb,
lib/web_api/parse.rb,
lib/web_api/stats.rb,
lib/web_api/blocks.rb,
lib/web_api/bounces.rb,
lib/web_api/modules.rb,
lib/web_api/profile.rb,
lib/web_api/unsubscribes.rb,
lib/web_api/invalid_emails.rb,
lib/web_api/event_notification.rb
Defined Under Namespace
Classes: Block, Bounce, EventNotification, InvalidEmail, Mail, ParseEmail, Profile, Spam, Stats, Unsubscribe
Instance Method Summary
collapse
Instance Method Details
#blocks ⇒ Object
11
12
13
|
# File 'lib/web_api/modules.rb', line 11
def blocks
@block_instance ||= Block.new(@api_key)
end
|
#bounces ⇒ Object
7
8
9
|
# File 'lib/web_api/modules.rb', line 7
def bounces
@bounce_instance ||= Bounce.new(@api_key)
end
|
#event_notification ⇒ Object
31
32
33
|
# File 'lib/web_api/modules.rb', line 31
def event_notification
@event_notification_instance ||= EventNotification.new(@api_key)
end
|
#invalid_emails ⇒ Object
19
20
21
|
# File 'lib/web_api/modules.rb', line 19
def invalid_emails
@invalid_email_instance ||= InvalidEmail.new(@api_key)
end
|
#mail ⇒ Object
43
44
45
|
# File 'lib/web_api/modules.rb', line 43
def mail
@mail_instance ||= Mail.new(@api_key)
end
|
#parse_email ⇒ Object
27
28
29
|
# File 'lib/web_api/modules.rb', line 27
def parse_email
@parse_email_instance ||= ParseEmail.new(@api_key)
end
|
#profile ⇒ Object
39
40
41
|
# File 'lib/web_api/modules.rb', line 39
def profile
@profile_instance ||= Profile.new(@api_key)
end
|
#spam ⇒ Object
15
16
17
|
# File 'lib/web_api/modules.rb', line 15
def spam
@spam_instance ||= Spam.new(@api_key)
end
|
#stats ⇒ Object
35
36
37
|
# File 'lib/web_api/modules.rb', line 35
def stats
@stats_instance ||= Stats.new(@api_key)
end
|
#unsubscribes ⇒ Object
23
24
25
|
# File 'lib/web_api/modules.rb', line 23
def unsubscribes
@unsubscribe_instance ||= Unsubscribe.new(@api_key)
end
|