govdelivery-tms 0.8.0 → 0.8.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +1 -1
- data/README.md +8 -8
- data/govdelivery-tms.gemspec +2 -2
- data/lib/{govdelivery-tms → govdelivery/tms}/base.rb +4 -4
- data/lib/{govdelivery-tms → govdelivery/tms}/client.rb +9 -9
- data/lib/{govdelivery-tms → govdelivery/tms}/collection_resource.rb +2 -2
- data/lib/{govdelivery-tms → govdelivery/tms}/connection.rb +4 -4
- data/lib/{govdelivery-tms → govdelivery/tms}/errors.rb +1 -1
- data/lib/govdelivery/tms/instance_resource.rb +219 -0
- data/lib/{govdelivery-tms → govdelivery/tms}/link_header.rb +0 -0
- data/lib/{govdelivery-tms → govdelivery/tms}/logger.rb +1 -1
- data/lib/{govdelivery-tms → govdelivery/tms}/mail/delivery_method.rb +11 -11
- data/lib/govdelivery/tms/resource/collections.rb +98 -0
- data/lib/{govdelivery-tms → govdelivery/tms}/resource/command.rb +7 -7
- data/lib/{govdelivery-tms → govdelivery/tms}/resource/command_action.rb +1 -1
- data/lib/{govdelivery-tms → govdelivery/tms}/resource/command_type.rb +1 -1
- data/lib/{govdelivery-tms → govdelivery/tms}/resource/email_message.rb +1 -1
- data/lib/{govdelivery-tms → govdelivery/tms}/resource/email_recipient.rb +1 -1
- data/lib/{govdelivery-tms → govdelivery/tms}/resource/email_recipient_click.rb +1 -1
- data/lib/{govdelivery-tms → govdelivery/tms}/resource/email_recipient_open.rb +1 -1
- data/lib/{govdelivery-tms → govdelivery/tms}/resource/email_template.rb +1 -1
- data/lib/{govdelivery-tms → govdelivery/tms}/resource/from_address.rb +1 -1
- data/lib/{govdelivery-tms → govdelivery/tms}/resource/inbound_sms_message.rb +1 -1
- data/lib/{govdelivery-tms → govdelivery/tms}/resource/ipaws_acknowledgement.rb +1 -1
- data/lib/{govdelivery-tms → govdelivery/tms}/resource/ipaws_alert.rb +1 -1
- data/lib/{govdelivery-tms → govdelivery/tms}/resource/ipaws_category.rb +1 -1
- data/lib/{govdelivery-tms → govdelivery/tms}/resource/ipaws_cog_profile.rb +1 -1
- data/lib/{govdelivery-tms → govdelivery/tms}/resource/ipaws_event_code.rb +1 -1
- data/lib/{govdelivery-tms → govdelivery/tms}/resource/ipaws_nwem_area.rb +1 -1
- data/lib/{govdelivery-tms → govdelivery/tms}/resource/ipaws_nwem_authorization.rb +1 -1
- data/lib/{govdelivery-tms → govdelivery/tms}/resource/ipaws_nwem_auxilary_data.rb +1 -1
- data/lib/{govdelivery-tms → govdelivery/tms}/resource/ipaws_response_type.rb +1 -1
- data/lib/{govdelivery-tms → govdelivery/tms}/resource/ipaws_static_resource.rb +2 -2
- data/lib/{govdelivery-tms → govdelivery/tms}/resource/keyword.rb +1 -1
- data/lib/{govdelivery-tms → govdelivery/tms}/resource/recipient.rb +1 -1
- data/lib/{govdelivery-tms → govdelivery/tms}/resource/sms_message.rb +1 -1
- data/lib/{govdelivery-tms → govdelivery/tms}/resource/webhook.rb +1 -1
- data/lib/{govdelivery-tms → govdelivery/tms}/util/core_ext.rb +1 -1
- data/lib/{govdelivery-tms → govdelivery/tms}/util/hal_link_parser.rb +2 -2
- data/lib/govdelivery/tms/version.rb +5 -0
- data/lib/govdelivery-tms/instance_resource.rb +7 -7
- data/lib/govdelivery-tms.rb +38 -36
- data/spec/client_spec.rb +18 -18
- data/spec/command_types_spec.rb +6 -6
- data/spec/email_message_spec.rb +58 -58
- data/spec/email_template_spec.rb +39 -39
- data/spec/errors_spec.rb +3 -3
- data/spec/from_address_spec.rb +22 -22
- data/spec/inbound_sms_messages_spec.rb +5 -5
- data/spec/instance_resource_spec.rb +14 -14
- data/spec/ipaws_acknowledgement_spec.rb +6 -6
- data/spec/ipaws_alerts_spec.rb +31 -31
- data/spec/ipaws_cog_profile_spec.rb +26 -26
- data/spec/ipaws_event_codes_spec.rb +5 -5
- data/spec/ipaws_nwem_areas_spec.rb +22 -22
- data/spec/ipaws_nwem_authorization_spec.rb +6 -6
- data/spec/keyword_spec.rb +23 -23
- data/spec/keywords_spec.rb +5 -5
- data/spec/mail/delivery_method_spec.rb +19 -19
- data/spec/sms_message_spec.rb +29 -29
- data/spec/sms_messages_spec.rb +7 -7
- data/spec/spec_helper.rb +2 -3
- data/spec/tms_spec.rb +2 -2
- metadata +50 -41
- checksums.yaml +0 -15
- data/lib/govdelivery-tms/resource/collections.rb +0 -98
- data/lib/govdelivery-tms/version.rb +0 -3
@@ -1,98 +0,0 @@
|
|
1
|
-
class TMS::Emails
|
2
|
-
include TMS::CollectionResource
|
3
|
-
end
|
4
|
-
|
5
|
-
class TMS::SmsMessages
|
6
|
-
include TMS::CollectionResource
|
7
|
-
end
|
8
|
-
|
9
|
-
class TMS::EmailMessages
|
10
|
-
include TMS::CollectionResource
|
11
|
-
end
|
12
|
-
|
13
|
-
class TMS::Recipients
|
14
|
-
include TMS::CollectionResource
|
15
|
-
end
|
16
|
-
|
17
|
-
class TMS::EmailRecipients
|
18
|
-
include TMS::CollectionResource
|
19
|
-
end
|
20
|
-
|
21
|
-
class TMS::EmailRecipientOpens
|
22
|
-
include TMS::CollectionResource
|
23
|
-
end
|
24
|
-
|
25
|
-
class TMS::EmailRecipientClicks
|
26
|
-
include TMS::CollectionResource
|
27
|
-
end
|
28
|
-
|
29
|
-
# A collection of Keyword objects.
|
30
|
-
#
|
31
|
-
# @example
|
32
|
-
# keywords = client.keywords.get
|
33
|
-
#
|
34
|
-
class TMS::Keywords
|
35
|
-
include TMS::CollectionResource
|
36
|
-
end
|
37
|
-
|
38
|
-
class TMS::InboundSmsMessages
|
39
|
-
include TMS::CollectionResource
|
40
|
-
end
|
41
|
-
|
42
|
-
# A collection of CommandType instances.
|
43
|
-
# This resource changes infrequently. It may be used to dynamically construct a
|
44
|
-
# user interface for configuring arbitrary SMS keywords for an account.
|
45
|
-
#
|
46
|
-
# This resource is read-only.
|
47
|
-
#
|
48
|
-
# @example
|
49
|
-
# client.command_types.get
|
50
|
-
# client.command_types.collection.each {|at| ... }
|
51
|
-
class TMS::CommandTypes
|
52
|
-
include TMS::CollectionResource
|
53
|
-
end
|
54
|
-
|
55
|
-
class TMS::Commands
|
56
|
-
include TMS::CollectionResource
|
57
|
-
end
|
58
|
-
|
59
|
-
class TMS::CommandActions
|
60
|
-
include TMS::CollectionResource
|
61
|
-
end
|
62
|
-
|
63
|
-
class TMS::IpawsEventCodes
|
64
|
-
include TMS::CollectionResource
|
65
|
-
end
|
66
|
-
|
67
|
-
class TMS::IpawsCategories
|
68
|
-
include TMS::CollectionResource
|
69
|
-
end
|
70
|
-
|
71
|
-
class TMS::IpawsResponseTypes
|
72
|
-
include TMS::CollectionResource
|
73
|
-
end
|
74
|
-
|
75
|
-
class TMS::IpawsAlerts
|
76
|
-
include TMS::CollectionResource
|
77
|
-
end
|
78
|
-
|
79
|
-
class TMS::IpawsNwemAreas
|
80
|
-
include TMS::CollectionResource
|
81
|
-
end
|
82
|
-
|
83
|
-
class TMS::Webhooks
|
84
|
-
include TMS::CollectionResource
|
85
|
-
end
|
86
|
-
|
87
|
-
# A collection of Email Template objects.
|
88
|
-
#
|
89
|
-
# @example
|
90
|
-
# email_template = client.email_template.get
|
91
|
-
#
|
92
|
-
class TMS::EmailTemplates
|
93
|
-
include TMS::CollectionResource
|
94
|
-
end
|
95
|
-
|
96
|
-
class TMS::FromAddresses
|
97
|
-
include TMS::CollectionResource
|
98
|
-
end
|