sentdm 0.1.0 → 0.2.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 31445227ab71e86eadb4a87c40f4cd1e323e5d7662a87fcf9aa8c57288171e81
4
- data.tar.gz: a29e93874f1d06a0f514aacb541c6f2c573176ce5bb217ac1011e47988c65154
3
+ metadata.gz: fab8dc014cdfdffd5db27dfeb306c0202ca83650d6d6e318538907885673f451
4
+ data.tar.gz: 1a700098dc48f38b8552099ac2927132a0a619ef603d3afacdd7ee4b93fe4d29
5
5
  SHA512:
6
- metadata.gz: 9d5ebda8629795e1f7905d07cc18f0814fb9d214388d91192bfdab4f259d88fe93225e56579d2e75e8a5587da7d307dc2772b02ac3defc6f2d8c7f679f89dd4e
7
- data.tar.gz: 03b08de70af011e81e60f8d3938c2089b549fdc1312e20b389953cfda6cf1f75ce212b0872c82b0f8db17e37d23838a2aa0912c55c187f74e7e70afe6765d669
6
+ metadata.gz: 64dc4a9f5d777c149fa0d7bc2fd7ecdb22da7d2e5a778717567bc617e201fd5cc275500d1d3a670404fb3e7350a51259774e5f6ad1aea585a0edcd72a3911f2d
7
+ data.tar.gz: cb1dc7f0eea9e923b18d3ba2267e9d984eb75ed73dbd93bba4c6d2d17bb65f3bba883aeed481c48dfb3e934b7c25f7cc449fbf744a54c004edc5b0756d29c03d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.2.0 (2026-02-16)
4
+
5
+ Full Changelog: [v0.1.0...v0.2.0](https://github.com/sentdm/sent-dm-ruby/compare/v0.1.0...v0.2.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** manual updates ([2bbf0b7](https://github.com/sentdm/sent-dm-ruby/commit/2bbf0b7eb75ea163ba7694d3e79d71b5d0e2b804))
10
+
3
11
  ## 0.1.0 (2026-02-10)
4
12
 
5
13
  Full Changelog: [v0.0.3...v0.1.0](https://github.com/sentdm/sent-dm-ruby/compare/v0.0.3...v0.1.0)
data/README.md CHANGED
@@ -17,7 +17,7 @@ To use this gem, install via Bundler by adding the following to your application
17
17
  <!-- x-release-please-start-version -->
18
18
 
19
19
  ```ruby
20
- gem "sentdm", "~> 0.1.0"
20
+ gem "sentdm", "~> 0.2.0"
21
21
  ```
22
22
 
23
23
  <!-- x-release-please-end -->
data/lib/sentdm/client.rb CHANGED
@@ -15,29 +15,28 @@ module Sentdm
15
15
  # Default max retry delay in seconds.
16
16
  DEFAULT_MAX_RETRY_DELAY = 8.0
17
17
 
18
- # Customer API key for authentication
18
+ # Customer API key for authentication. Use `sk_live_*` keys for production and
19
+ # `sk_test_*` keys for sandbox/testing. Pass via the `x-api-key` header.
19
20
  # @return [String]
20
21
  attr_reader :api_key
21
22
 
22
- # Customer sender ID (GUID) identifying the customer account
23
+ # Customer sender ID (UUID) identifying the customer account. Obtain this from
24
+ # your account settings. Pass via the `x-sender-id` header.
23
25
  # @return [String]
24
26
  attr_reader :sender_id
25
27
 
26
- # @return [Sentdm::Resources::Templates]
27
- attr_reader :templates
28
-
29
28
  # @return [Sentdm::Resources::Contacts]
30
29
  attr_reader :contacts
31
30
 
32
31
  # @return [Sentdm::Resources::Messages]
33
32
  attr_reader :messages
34
33
 
34
+ # @return [Sentdm::Resources::Templates]
35
+ attr_reader :templates
36
+
35
37
  # @return [Sentdm::Resources::NumberLookup]
36
38
  attr_reader :number_lookup
37
39
 
38
- # @return [Sentdm::Resources::Organizations]
39
- attr_reader :organizations
40
-
41
40
  # @api private
42
41
  #
43
42
  # @return [Hash{String=>String}]
@@ -61,9 +60,12 @@ module Sentdm
61
60
 
62
61
  # Creates and returns a new client for interacting with the API.
63
62
  #
64
- # @param api_key [String, nil] Customer API key for authentication Defaults to `ENV["SENT_DM_API_KEY"]`
63
+ # @param api_key [String, nil] Customer API key for authentication. Use `sk_live_*` keys for production and
64
+ # `sk_test_*` keys for sandbox/testing. Pass via the `x-api-key` header. Defaults
65
+ # to `ENV["SENT_DM_API_KEY"]`
65
66
  #
66
- # @param sender_id [String, nil] Customer sender ID (GUID) identifying the customer account Defaults to
67
+ # @param sender_id [String, nil] Customer sender ID (UUID) identifying the customer account. Obtain this from
68
+ # your account settings. Pass via the `x-sender-id` header. Defaults to
67
69
  # `ENV["SENT_DM_SENDER_ID"]`
68
70
  #
69
71
  # @param base_url [String, nil] Override the default base URL for the API, e.g.,
@@ -105,11 +107,10 @@ module Sentdm
105
107
  max_retry_delay: max_retry_delay
106
108
  )
107
109
 
108
- @templates = Sentdm::Resources::Templates.new(client: self)
109
110
  @contacts = Sentdm::Resources::Contacts.new(client: self)
110
111
  @messages = Sentdm::Resources::Messages.new(client: self)
112
+ @templates = Sentdm::Resources::Templates.new(client: self)
111
113
  @number_lookup = Sentdm::Resources::NumberLookup.new(client: self)
112
- @organizations = Sentdm::Resources::Organizations.new(client: self)
113
114
  end
114
115
  end
115
116
  end
@@ -438,11 +438,11 @@ module Sentdm
438
438
  # @return [Hash{Symbol=>Object}]
439
439
  #
440
440
  # @example
441
- # # `template_body_content` is a `Sentdm::TemplateBodyContent`
442
- # template_body_content => {
443
- # template: template,
444
- # type: type,
445
- # variables: variables
441
+ # # `contact_list_item` is a `Sentdm::ContactListItem`
442
+ # contact_list_item => {
443
+ # id: id,
444
+ # available_channels: available_channels,
445
+ # country_code: country_code
446
446
  # }
447
447
  def deconstruct_keys(keys)
448
448
  (keys || self.class.known_fields.keys)
@@ -6,8 +6,8 @@ module Sentdm
6
6
  class TemplateListResponse < Sentdm::Internal::Type::BaseModel
7
7
  # @!attribute items
8
8
  #
9
- # @return [Array<Sentdm::Models::TemplateResponse>, nil]
10
- optional :items, -> { Sentdm::Internal::Type::ArrayOf[Sentdm::TemplateResponse] }
9
+ # @return [Array<Sentdm::Models::TemplateResponseV2>, nil]
10
+ optional :items, -> { Sentdm::Internal::Type::ArrayOf[Sentdm::TemplateResponseV2] }
11
11
 
12
12
  # @!attribute page
13
13
  #
@@ -30,7 +30,7 @@ module Sentdm
30
30
  optional :total_pages, Integer, api_name: :totalPages
31
31
 
32
32
  # @!method initialize(items: nil, page: nil, page_size: nil, total_count: nil, total_pages: nil)
33
- # @param items [Array<Sentdm::Models::TemplateResponse>]
33
+ # @param items [Array<Sentdm::Models::TemplateResponseV2>]
34
34
  # @param page [Integer]
35
35
  # @param page_size [Integer]
36
36
  # @param total_count [Integer]
@@ -3,7 +3,7 @@
3
3
  module Sentdm
4
4
  module Models
5
5
  # @see Sentdm::Resources::Templates#create
6
- class TemplateResponse < Sentdm::Internal::Type::BaseModel
6
+ class TemplateResponseV2 < Sentdm::Internal::Type::BaseModel
7
7
  # @!attribute id
8
8
  # The unique identifier of the template
9
9
  #
data/lib/sentdm/models.rb CHANGED
@@ -67,7 +67,7 @@ module Sentdm
67
67
 
68
68
  TemplateListParams = Sentdm::Models::TemplateListParams
69
69
 
70
- TemplateResponse = Sentdm::Models::TemplateResponse
70
+ TemplateResponseV2 = Sentdm::Models::TemplateResponseV2
71
71
 
72
72
  TemplateRetrieveParams = Sentdm::Models::TemplateRetrieveParams
73
73
 
@@ -24,7 +24,7 @@ module Sentdm
24
24
  #
25
25
  # @param request_options [Sentdm::RequestOptions, Hash{Symbol=>Object}, nil]
26
26
  #
27
- # @return [Sentdm::Models::TemplateResponse]
27
+ # @return [Sentdm::Models::TemplateResponseV2]
28
28
  #
29
29
  # @see Sentdm::Models::TemplateCreateParams
30
30
  def create(params)
@@ -33,7 +33,7 @@ module Sentdm
33
33
  method: :post,
34
34
  path: "v2/templates",
35
35
  body: parsed,
36
- model: Sentdm::TemplateResponse,
36
+ model: Sentdm::TemplateResponseV2,
37
37
  options: options
38
38
  )
39
39
  end
@@ -48,14 +48,14 @@ module Sentdm
48
48
  # @param id [String]
49
49
  # @param request_options [Sentdm::RequestOptions, Hash{Symbol=>Object}, nil]
50
50
  #
51
- # @return [Sentdm::Models::TemplateResponse]
51
+ # @return [Sentdm::Models::TemplateResponseV2]
52
52
  #
53
53
  # @see Sentdm::Models::TemplateRetrieveParams
54
54
  def retrieve(id, params = {})
55
55
  @client.request(
56
56
  method: :get,
57
57
  path: ["v2/templates/%1$s", id],
58
- model: Sentdm::TemplateResponse,
58
+ model: Sentdm::TemplateResponseV2,
59
59
  options: params[:request_options]
60
60
  )
61
61
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Sentdm
4
- VERSION = "0.1.0"
4
+ VERSION = "0.2.0"
5
5
  end
data/lib/sentdm.rb CHANGED
@@ -70,13 +70,11 @@ require_relative "sentdm/models/template_definition"
70
70
  require_relative "sentdm/models/template_delete_params"
71
71
  require_relative "sentdm/models/template_list_params"
72
72
  require_relative "sentdm/models/template_list_response"
73
- require_relative "sentdm/models/template_response"
73
+ require_relative "sentdm/models/template_response_v2"
74
74
  require_relative "sentdm/models/template_retrieve_params"
75
75
  require_relative "sentdm/models/template_variable"
76
76
  require_relative "sentdm/models"
77
77
  require_relative "sentdm/resources/contacts"
78
78
  require_relative "sentdm/resources/messages"
79
79
  require_relative "sentdm/resources/number_lookup"
80
- require_relative "sentdm/resources/organizations"
81
- require_relative "sentdm/resources/organizations/users"
82
80
  require_relative "sentdm/resources/templates"
@@ -10,29 +10,28 @@ module Sentdm
10
10
 
11
11
  DEFAULT_MAX_RETRY_DELAY = T.let(8.0, Float)
12
12
 
13
- # Customer API key for authentication
13
+ # Customer API key for authentication. Use `sk_live_*` keys for production and
14
+ # `sk_test_*` keys for sandbox/testing. Pass via the `x-api-key` header.
14
15
  sig { returns(String) }
15
16
  attr_reader :api_key
16
17
 
17
- # Customer sender ID (GUID) identifying the customer account
18
+ # Customer sender ID (UUID) identifying the customer account. Obtain this from
19
+ # your account settings. Pass via the `x-sender-id` header.
18
20
  sig { returns(String) }
19
21
  attr_reader :sender_id
20
22
 
21
- sig { returns(Sentdm::Resources::Templates) }
22
- attr_reader :templates
23
-
24
23
  sig { returns(Sentdm::Resources::Contacts) }
25
24
  attr_reader :contacts
26
25
 
27
26
  sig { returns(Sentdm::Resources::Messages) }
28
27
  attr_reader :messages
29
28
 
29
+ sig { returns(Sentdm::Resources::Templates) }
30
+ attr_reader :templates
31
+
30
32
  sig { returns(Sentdm::Resources::NumberLookup) }
31
33
  attr_reader :number_lookup
32
34
 
33
- sig { returns(Sentdm::Resources::Organizations) }
34
- attr_reader :organizations
35
-
36
35
  # @api private
37
36
  sig { override.returns(T::Hash[String, String]) }
38
37
  private def auth_headers
@@ -61,9 +60,12 @@ module Sentdm
61
60
  ).returns(T.attached_class)
62
61
  end
63
62
  def self.new(
64
- # Customer API key for authentication Defaults to `ENV["SENT_DM_API_KEY"]`
63
+ # Customer API key for authentication. Use `sk_live_*` keys for production and
64
+ # `sk_test_*` keys for sandbox/testing. Pass via the `x-api-key` header. Defaults
65
+ # to `ENV["SENT_DM_API_KEY"]`
65
66
  api_key: ENV["SENT_DM_API_KEY"],
66
- # Customer sender ID (GUID) identifying the customer account Defaults to
67
+ # Customer sender ID (UUID) identifying the customer account. Obtain this from
68
+ # your account settings. Pass via the `x-sender-id` header. Defaults to
67
69
  # `ENV["SENT_DM_SENDER_ID"]`
68
70
  sender_id: ENV["SENT_DM_SENDER_ID"],
69
71
  # Override the default base URL for the API, e.g.,
@@ -8,10 +8,10 @@ module Sentdm
8
8
  T.any(Sentdm::Models::TemplateListResponse, Sentdm::Internal::AnyHash)
9
9
  end
10
10
 
11
- sig { returns(T.nilable(T::Array[Sentdm::TemplateResponse])) }
11
+ sig { returns(T.nilable(T::Array[Sentdm::TemplateResponseV2])) }
12
12
  attr_reader :items
13
13
 
14
- sig { params(items: T::Array[Sentdm::TemplateResponse::OrHash]).void }
14
+ sig { params(items: T::Array[Sentdm::TemplateResponseV2::OrHash]).void }
15
15
  attr_writer :items
16
16
 
17
17
  sig { returns(T.nilable(Integer)) }
@@ -40,7 +40,7 @@ module Sentdm
40
40
 
41
41
  sig do
42
42
  params(
43
- items: T::Array[Sentdm::TemplateResponse::OrHash],
43
+ items: T::Array[Sentdm::TemplateResponseV2::OrHash],
44
44
  page: Integer,
45
45
  page_size: Integer,
46
46
  total_count: Integer,
@@ -59,7 +59,7 @@ module Sentdm
59
59
  sig do
60
60
  override.returns(
61
61
  {
62
- items: T::Array[Sentdm::TemplateResponse],
62
+ items: T::Array[Sentdm::TemplateResponseV2],
63
63
  page: Integer,
64
64
  page_size: Integer,
65
65
  total_count: Integer,
@@ -2,10 +2,10 @@
2
2
 
3
3
  module Sentdm
4
4
  module Models
5
- class TemplateResponse < Sentdm::Internal::Type::BaseModel
5
+ class TemplateResponseV2 < Sentdm::Internal::Type::BaseModel
6
6
  OrHash =
7
7
  T.type_alias do
8
- T.any(Sentdm::TemplateResponse, Sentdm::Internal::AnyHash)
8
+ T.any(Sentdm::TemplateResponseV2, Sentdm::Internal::AnyHash)
9
9
  end
10
10
 
11
11
  # The unique identifier of the template
@@ -29,7 +29,7 @@ module Sentdm
29
29
 
30
30
  TemplateListParams = Sentdm::Models::TemplateListParams
31
31
 
32
- TemplateResponse = Sentdm::Models::TemplateResponse
32
+ TemplateResponseV2 = Sentdm::Models::TemplateResponseV2
33
33
 
34
34
  TemplateRetrieveParams = Sentdm::Models::TemplateRetrieveParams
35
35
 
@@ -15,7 +15,7 @@ module Sentdm
15
15
  language: T.nilable(String),
16
16
  submit_for_review: T::Boolean,
17
17
  request_options: Sentdm::RequestOptions::OrHash
18
- ).returns(Sentdm::TemplateResponse)
18
+ ).returns(Sentdm::TemplateResponseV2)
19
19
  end
20
20
  def create(
21
21
  # Template definition containing header, body, footer, and buttons
@@ -42,7 +42,7 @@ module Sentdm
42
42
  params(
43
43
  id: String,
44
44
  request_options: Sentdm::RequestOptions::OrHash
45
- ).returns(Sentdm::TemplateResponse)
45
+ ).returns(Sentdm::TemplateResponseV2)
46
46
  end
47
47
  def retrieve(id, request_options: {})
48
48
  end
@@ -12,15 +12,13 @@ module Sentdm
12
12
 
13
13
  attr_reader sender_id: String
14
14
 
15
- attr_reader templates: Sentdm::Resources::Templates
16
-
17
15
  attr_reader contacts: Sentdm::Resources::Contacts
18
16
 
19
17
  attr_reader messages: Sentdm::Resources::Messages
20
18
 
21
- attr_reader number_lookup: Sentdm::Resources::NumberLookup
19
+ attr_reader templates: Sentdm::Resources::Templates
22
20
 
23
- attr_reader organizations: Sentdm::Resources::Organizations
21
+ attr_reader number_lookup: Sentdm::Resources::NumberLookup
24
22
 
25
23
  private def auth_headers: -> ::Hash[String, String]
26
24
 
@@ -2,7 +2,7 @@ module Sentdm
2
2
  module Models
3
3
  type template_list_response =
4
4
  {
5
- items: ::Array[Sentdm::TemplateResponse],
5
+ items: ::Array[Sentdm::TemplateResponseV2],
6
6
  page: Integer,
7
7
  page_size: Integer,
8
8
  total_count: Integer,
@@ -10,11 +10,11 @@ module Sentdm
10
10
  }
11
11
 
12
12
  class TemplateListResponse < Sentdm::Internal::Type::BaseModel
13
- attr_reader items: ::Array[Sentdm::TemplateResponse]?
13
+ attr_reader items: ::Array[Sentdm::TemplateResponseV2]?
14
14
 
15
15
  def items=: (
16
- ::Array[Sentdm::TemplateResponse]
17
- ) -> ::Array[Sentdm::TemplateResponse]
16
+ ::Array[Sentdm::TemplateResponseV2]
17
+ ) -> ::Array[Sentdm::TemplateResponseV2]
18
18
 
19
19
  attr_reader page: Integer?
20
20
 
@@ -33,7 +33,7 @@ module Sentdm
33
33
  def total_pages=: (Integer) -> Integer
34
34
 
35
35
  def initialize: (
36
- ?items: ::Array[Sentdm::TemplateResponse],
36
+ ?items: ::Array[Sentdm::TemplateResponseV2],
37
37
  ?page: Integer,
38
38
  ?page_size: Integer,
39
39
  ?total_count: Integer,
@@ -41,7 +41,7 @@ module Sentdm
41
41
  ) -> void
42
42
 
43
43
  def to_hash: -> {
44
- items: ::Array[Sentdm::TemplateResponse],
44
+ items: ::Array[Sentdm::TemplateResponseV2],
45
45
  page: Integer,
46
46
  page_size: Integer,
47
47
  total_count: Integer,
@@ -1,6 +1,6 @@
1
1
  module Sentdm
2
2
  module Models
3
- type template_response =
3
+ type template_response_v2 =
4
4
  {
5
5
  id: String,
6
6
  category: String,
@@ -15,7 +15,7 @@ module Sentdm
15
15
  whatsapp_template_name: String
16
16
  }
17
17
 
18
- class TemplateResponse < Sentdm::Internal::Type::BaseModel
18
+ class TemplateResponseV2 < Sentdm::Internal::Type::BaseModel
19
19
  attr_reader id: String?
20
20
 
21
21
  def id=: (String) -> String
@@ -27,7 +27,7 @@ module Sentdm
27
27
 
28
28
  class TemplateListParams = Sentdm::Models::TemplateListParams
29
29
 
30
- class TemplateResponse = Sentdm::Models::TemplateResponse
30
+ class TemplateResponseV2 = Sentdm::Models::TemplateResponseV2
31
31
 
32
32
  class TemplateRetrieveParams = Sentdm::Models::TemplateRetrieveParams
33
33
 
@@ -7,12 +7,12 @@ module Sentdm
7
7
  ?language: String?,
8
8
  ?submit_for_review: bool,
9
9
  ?request_options: Sentdm::request_opts
10
- ) -> Sentdm::TemplateResponse
10
+ ) -> Sentdm::TemplateResponseV2
11
11
 
12
12
  def retrieve: (
13
13
  String id,
14
14
  ?request_options: Sentdm::request_opts
15
- ) -> Sentdm::TemplateResponse
15
+ ) -> Sentdm::TemplateResponseV2
16
16
 
17
17
  def list: (
18
18
  page: Integer,
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sentdm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sent Dm
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-02-10 00:00:00.000000000 Z
11
+ date: 2026-02-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cgi
@@ -87,15 +87,13 @@ files:
87
87
  - lib/sentdm/models/template_delete_params.rb
88
88
  - lib/sentdm/models/template_list_params.rb
89
89
  - lib/sentdm/models/template_list_response.rb
90
- - lib/sentdm/models/template_response.rb
90
+ - lib/sentdm/models/template_response_v2.rb
91
91
  - lib/sentdm/models/template_retrieve_params.rb
92
92
  - lib/sentdm/models/template_variable.rb
93
93
  - lib/sentdm/request_options.rb
94
94
  - lib/sentdm/resources/contacts.rb
95
95
  - lib/sentdm/resources/messages.rb
96
96
  - lib/sentdm/resources/number_lookup.rb
97
- - lib/sentdm/resources/organizations.rb
98
- - lib/sentdm/resources/organizations/users.rb
99
97
  - lib/sentdm/resources/templates.rb
100
98
  - lib/sentdm/version.rb
101
99
  - manifest.yaml
@@ -136,15 +134,13 @@ files:
136
134
  - rbi/sentdm/models/template_delete_params.rbi
137
135
  - rbi/sentdm/models/template_list_params.rbi
138
136
  - rbi/sentdm/models/template_list_response.rbi
139
- - rbi/sentdm/models/template_response.rbi
137
+ - rbi/sentdm/models/template_response_v2.rbi
140
138
  - rbi/sentdm/models/template_retrieve_params.rbi
141
139
  - rbi/sentdm/models/template_variable.rbi
142
140
  - rbi/sentdm/request_options.rbi
143
141
  - rbi/sentdm/resources/contacts.rbi
144
142
  - rbi/sentdm/resources/messages.rbi
145
143
  - rbi/sentdm/resources/number_lookup.rbi
146
- - rbi/sentdm/resources/organizations.rbi
147
- - rbi/sentdm/resources/organizations/users.rbi
148
144
  - rbi/sentdm/resources/templates.rbi
149
145
  - rbi/sentdm/version.rbi
150
146
  - sig/sentdm/client.rbs
@@ -184,15 +180,13 @@ files:
184
180
  - sig/sentdm/models/template_delete_params.rbs
185
181
  - sig/sentdm/models/template_list_params.rbs
186
182
  - sig/sentdm/models/template_list_response.rbs
187
- - sig/sentdm/models/template_response.rbs
183
+ - sig/sentdm/models/template_response_v2.rbs
188
184
  - sig/sentdm/models/template_retrieve_params.rbs
189
185
  - sig/sentdm/models/template_variable.rbs
190
186
  - sig/sentdm/request_options.rbs
191
187
  - sig/sentdm/resources/contacts.rbs
192
188
  - sig/sentdm/resources/messages.rbs
193
189
  - sig/sentdm/resources/number_lookup.rbs
194
- - sig/sentdm/resources/organizations.rbs
195
- - sig/sentdm/resources/organizations/users.rbs
196
190
  - sig/sentdm/resources/templates.rbs
197
191
  - sig/sentdm/version.rbs
198
192
  homepage: https://gemdocs.org/gems/sentdm
@@ -1,16 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Sentdm
4
- module Resources
5
- class Organizations
6
- class Users
7
- # @api private
8
- #
9
- # @param client [Sentdm::Client]
10
- def initialize(client:)
11
- @client = client
12
- end
13
- end
14
- end
15
- end
16
- end
@@ -1,18 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Sentdm
4
- module Resources
5
- class Organizations
6
- # @return [Sentdm::Resources::Organizations::Users]
7
- attr_reader :users
8
-
9
- # @api private
10
- #
11
- # @param client [Sentdm::Client]
12
- def initialize(client:)
13
- @client = client
14
- @users = Sentdm::Resources::Organizations::Users.new(client: client)
15
- end
16
- end
17
- end
18
- end
@@ -1,14 +0,0 @@
1
- # typed: strong
2
-
3
- module Sentdm
4
- module Resources
5
- class Organizations
6
- class Users
7
- # @api private
8
- sig { params(client: Sentdm::Client).returns(T.attached_class) }
9
- def self.new(client:)
10
- end
11
- end
12
- end
13
- end
14
- end
@@ -1,15 +0,0 @@
1
- # typed: strong
2
-
3
- module Sentdm
4
- module Resources
5
- class Organizations
6
- sig { returns(Sentdm::Resources::Organizations::Users) }
7
- attr_reader :users
8
-
9
- # @api private
10
- sig { params(client: Sentdm::Client).returns(T.attached_class) }
11
- def self.new(client:)
12
- end
13
- end
14
- end
15
- end
@@ -1,9 +0,0 @@
1
- module Sentdm
2
- module Resources
3
- class Organizations
4
- class Users
5
- def initialize: (client: Sentdm::Client) -> void
6
- end
7
- end
8
- end
9
- end
@@ -1,9 +0,0 @@
1
- module Sentdm
2
- module Resources
3
- class Organizations
4
- attr_reader users: Sentdm::Resources::Organizations::Users
5
-
6
- def initialize: (client: Sentdm::Client) -> void
7
- end
8
- end
9
- end