messagemedia_messages_sdk 2.0.3 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,44 +1,44 @@
1
- # message_media_messages
2
- #
3
- # This file was automatically generated by APIMATIC v2.0
4
- # ( https://apimatic.io ).
5
-
6
- module MessageMediaMessages
7
- # The status of the message
8
- class StatusEnum
9
- STATUS_ENUM = [
10
- # TODO: Write general description for ENROUTE
11
- ENROUTE = 'enroute'.freeze,
12
-
13
- # TODO: Write general description for SUBMITTED
14
- SUBMITTED = 'submitted'.freeze,
15
-
16
- # TODO: Write general description for DELIVERED
17
- DELIVERED = 'delivered'.freeze,
18
-
19
- # TODO: Write general description for EXPIRED
20
- EXPIRED = 'expired'.freeze,
21
-
22
- # TODO: Write general description for REJECTED
23
- REJECTED = 'rejected'.freeze,
24
-
25
- # TODO: Write general description for UNDELIVERABLE
26
- UNDELIVERABLE = 'undeliverable'.freeze,
27
-
28
- # TODO: Write general description for QUEUED
29
- QUEUED = 'queued'.freeze,
30
-
31
- # TODO: Write general description for PROCESSED
32
- PROCESSED = 'processed'.freeze,
33
-
34
- # TODO: Write general description for CANCELLED
35
- CANCELLED = 'cancelled'.freeze,
36
-
37
- # TODO: Write general description for SCHEDULED
38
- SCHEDULED = 'scheduled'.freeze,
39
-
40
- # TODO: Write general description for FAILED
41
- FAILED = 'failed'.freeze
42
- ].freeze
43
- end
44
- end
1
+ # message_media_messages
2
+ #
3
+ # This file was automatically generated by APIMATIC v2.0
4
+ # ( https://apimatic.io ).
5
+
6
+ module MessageMediaMessages
7
+ # The status of the message
8
+ class StatusEnum
9
+ STATUS_ENUM = [
10
+ # TODO: Write general description for ENROUTE
11
+ ENROUTE = 'enroute'.freeze,
12
+
13
+ # TODO: Write general description for SUBMITTED
14
+ SUBMITTED = 'submitted'.freeze,
15
+
16
+ # TODO: Write general description for DELIVERED
17
+ DELIVERED = 'delivered'.freeze,
18
+
19
+ # TODO: Write general description for EXPIRED
20
+ EXPIRED = 'expired'.freeze,
21
+
22
+ # TODO: Write general description for REJECTED
23
+ REJECTED = 'rejected'.freeze,
24
+
25
+ # TODO: Write general description for UNDELIVERABLE
26
+ UNDELIVERABLE = 'undeliverable'.freeze,
27
+
28
+ # TODO: Write general description for QUEUED
29
+ QUEUED = 'queued'.freeze,
30
+
31
+ # TODO: Write general description for PROCESSED
32
+ PROCESSED = 'processed'.freeze,
33
+
34
+ # TODO: Write general description for CANCELLED
35
+ CANCELLED = 'cancelled'.freeze,
36
+
37
+ # TODO: Write general description for SCHEDULED
38
+ SCHEDULED = 'scheduled'.freeze,
39
+
40
+ # TODO: Write general description for FAILED
41
+ FAILED = 'failed'.freeze
42
+ ].freeze
43
+ end
44
+ end
@@ -1,44 +1,44 @@
1
- # message_media_messages
2
- #
3
- # This file was automatically generated by APIMATIC v2.0
4
- # ( https://apimatic.io ).
5
-
6
- module MessageMediaMessages
7
- # VendorAccountId Model.
8
- class VendorAccountId < BaseModel
9
- # TODO: Write general description for this method
10
- # @return [String]
11
- attr_accessor :vendor_id
12
-
13
- # The account used to submit the original message.
14
- # @return [String]
15
- attr_accessor :account_id
16
-
17
- # A mapping from model property names to API property names.
18
- def self.names
19
- @_hash = {} if @_hash.nil?
20
- @_hash['vendor_id'] = 'vendor_id'
21
- @_hash['account_id'] = 'account_id'
22
- @_hash
23
- end
24
-
25
- def initialize(vendor_id = nil,
26
- account_id = nil)
27
- @vendor_id = vendor_id
28
- @account_id = account_id
29
- end
30
-
31
- # Creates an instance of the object from a hash.
32
- def self.from_hash(hash)
33
- return nil unless hash
34
-
35
- # Extract variables from the hash.
36
- vendor_id = hash['vendor_id']
37
- account_id = hash['account_id']
38
-
39
- # Create object from extracted values.
40
- VendorAccountId.new(vendor_id,
41
- account_id)
42
- end
43
- end
44
- end
1
+ # message_media_messages
2
+ #
3
+ # This file was automatically generated by APIMATIC v2.0
4
+ # ( https://apimatic.io ).
5
+
6
+ module MessageMediaMessages
7
+ # VendorAccountId Model.
8
+ class VendorAccountId < BaseModel
9
+ # TODO: Write general description for this method
10
+ # @return [String]
11
+ attr_accessor :vendor_id
12
+
13
+ # The account used to submit the original message.
14
+ # @return [String]
15
+ attr_accessor :account_id
16
+
17
+ # A mapping from model property names to API property names.
18
+ def self.names
19
+ @_hash = {} if @_hash.nil?
20
+ @_hash['vendor_id'] = 'vendor_id'
21
+ @_hash['account_id'] = 'account_id'
22
+ @_hash
23
+ end
24
+
25
+ def initialize(vendor_id = nil,
26
+ account_id = nil)
27
+ @vendor_id = vendor_id
28
+ @account_id = account_id
29
+ end
30
+
31
+ # Creates an instance of the object from a hash.
32
+ def self.from_hash(hash)
33
+ return nil unless hash
34
+
35
+ # Extract variables from the hash.
36
+ vendor_id = hash['vendor_id']
37
+ account_id = hash['account_id']
38
+
39
+ # Create object from extracted values.
40
+ VendorAccountId.new(vendor_id,
41
+ account_id)
42
+ end
43
+ end
44
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: messagemedia_messages_sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.3
4
+ version: 3.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - MessageMedia Developers
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-01-22 00:00:00.000000000 Z
11
+ date: 2022-12-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: logging
@@ -28,14 +28,14 @@ dependencies:
28
28
  name: faraday
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0.10'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">="
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0.10'
41
41
  - !ruby/object:Gem::Dependency
@@ -76,14 +76,14 @@ dependencies:
76
76
  name: faraday-http-cache
77
77
  requirement: !ruby/object:Gem::Requirement
78
78
  requirements:
79
- - - ">="
79
+ - - "~>"
80
80
  - !ruby/object:Gem::Version
81
81
  version: 1.2.2
82
82
  type: :runtime
83
83
  prerelease: false
84
84
  version_requirements: !ruby/object:Gem::Requirement
85
85
  requirements:
86
- - - ">="
86
+ - - "~>"
87
87
  - !ruby/object:Gem::Version
88
88
  version: 1.2.2
89
89
  description: The MessageMedia Messages API provides a number of endpoints for building
@@ -137,23 +137,23 @@ homepage: https://developers.messagemedia.com
137
137
  licenses:
138
138
  - Apache-2.0
139
139
  metadata: {}
140
- post_install_message:
140
+ post_install_message:
141
141
  rdoc_options: []
142
142
  require_paths:
143
143
  - lib
144
144
  required_ruby_version: !ruby/object:Gem::Requirement
145
145
  requirements:
146
- - - "~>"
146
+ - - ">="
147
147
  - !ruby/object:Gem::Version
148
- version: '2.0'
148
+ version: 2.0.0
149
149
  required_rubygems_version: !ruby/object:Gem::Requirement
150
150
  requirements:
151
151
  - - ">="
152
152
  - !ruby/object:Gem::Version
153
153
  version: '0'
154
154
  requirements: []
155
- rubygems_version: 3.0.3
156
- signing_key:
155
+ rubygems_version: 3.3.7
156
+ signing_key:
157
157
  specification_version: 4
158
158
  summary: MessageMedia Messages SDK
159
159
  test_files: []