ranla 0.8.5

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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 987f0d6ac1bd97c083a3e24fa0d399178639d046523deb0459676aef718570b7
4
+ data.tar.gz: 6461e2cc5cc21ba63e6472e567ed79e960d08e81d572b5ca31cf78c55462f759
5
+ SHA512:
6
+ metadata.gz: 91ac917cb5d2db680d989d03058159c9ebba3f6bcd75c5087207717ec2e10237475fb6610265b80a203e82b9d791eac867e05daafad8b26c9ae4de4763a01576
7
+ data.tar.gz: 6066392b8f9ca07644b28b9a97c7199a462bd608e5ade81a79bdef07bdc61fa85455a6679b62994d2d6e2e80feaa108218435d59ace6674e9790e000038a18de
data/Gemfile ADDED
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gemspec
6
+
7
+ # Local monorepo dev — gemspec declares supersendtx for RubyGems consumers.
8
+ gem "supersendtx", path: "../supersendtx-ruby"
9
+
10
+ group :development, :test do
11
+ gem "minitest", "~> 5.25"
12
+ end
data/Gemfile.lock ADDED
@@ -0,0 +1,36 @@
1
+ PATH
2
+ remote: ../supersendtx-ruby
3
+ specs:
4
+ supersendtx (0.8.5)
5
+ base64 (>= 0.2)
6
+
7
+ PATH
8
+ remote: .
9
+ specs:
10
+ ranla (0.8.5)
11
+ supersendtx (~> 0.8.5)
12
+
13
+ GEM
14
+ remote: https://rubygems.org/
15
+ specs:
16
+ base64 (0.3.0)
17
+ minitest (5.27.0)
18
+
19
+ PLATFORMS
20
+ arm64-darwin-25
21
+ ruby
22
+
23
+ DEPENDENCIES
24
+ minitest (~> 5.25)
25
+ ranla!
26
+ supersendtx!
27
+
28
+ CHECKSUMS
29
+ base64 (0.3.0) sha256=27337aeabad6ffae05c265c450490628ef3ebd4b67be58257393227588f5a97b
30
+ bundler (4.0.15) sha256=a4ceb882fe94a0e0ac63cd0813932bbfd631a14e5ac0b7975189b19a4d28d9e7
31
+ minitest (5.27.0) sha256=2d3b17f8a36fe7801c1adcffdbc38233b938eb0b4966e97a6739055a45fa77d5
32
+ ranla (0.8.5)
33
+ supersendtx (0.8.5)
34
+
35
+ BUNDLED WITH
36
+ 4.0.15
data/README.md ADDED
@@ -0,0 +1,32 @@
1
+ # ranla
2
+
3
+ Official Ruby client for the Ranla email API.
4
+
5
+ ```bash
6
+ gem install ranla
7
+ ```
8
+
9
+ ```ruby
10
+ require "ranla"
11
+
12
+ client = Ranla::Client.new(ENV.fetch("RANLA_API_KEY"))
13
+
14
+ email = client.emails.send(
15
+ from: "ops@yourdomain.com",
16
+ to: "user@example.com",
17
+ subject: "Your receipt",
18
+ html: "<p>Thanks for your purchase.</p>"
19
+ )
20
+
21
+ puts email["id"], email["status"]
22
+ ```
23
+
24
+ Defaults to `https://api.ranla.ai`. API keys may start with `rnl_` or `stx_`.
25
+
26
+ `Ranla::SuperSendTX` is the same class under the previous name.
27
+
28
+ The legacy `supersendtx` gem on RubyGems remains supported.
29
+
30
+ ## License
31
+
32
+ MIT
@@ -0,0 +1,15 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "supersendtx"
4
+
5
+ module Ranla
6
+ class Client < SuperSendTX::Client
7
+ DEFAULT_API_BASE_URL = "https://api.ranla.ai"
8
+
9
+ def initialize(api_key, base_url: DEFAULT_API_BASE_URL, transport: nil)
10
+ super(api_key, base_url: base_url, transport: transport)
11
+ end
12
+ end
13
+
14
+ SuperSendTX = Client
15
+ end
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Ranla
4
+ VERSION = "0.8.5"
5
+ end
data/lib/ranla.rb ADDED
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "ranla/version"
4
+ require "ranla/client"
5
+
6
+ module Ranla
7
+ end
data/ranla.gemspec ADDED
@@ -0,0 +1,34 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "lib/ranla/version"
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = "ranla"
7
+ spec.version = Ranla::VERSION
8
+ spec.authors = ["Ranla"]
9
+ spec.email = ["support@ranla.ai"]
10
+
11
+ spec.summary = "Ranla email API client for Ruby"
12
+ spec.description = "Official Ruby client for the Ranla REST API."
13
+ spec.homepage = "https://ranla.ai"
14
+ spec.license = "MIT"
15
+ spec.required_ruby_version = ">= 3.1.0"
16
+
17
+ spec.metadata = {
18
+ "homepage_uri" => spec.homepage,
19
+ "source_code_uri" => "https://github.com/Super-Send/supersendtx-sdks/tree/main/ranla-ruby",
20
+ "documentation_uri" => "https://docs.ranla.ai/sdks/ruby",
21
+ "rubygems_mfa_required" => "true"
22
+ }
23
+
24
+ spec.files = Dir.chdir(__dir__) do
25
+ `git ls-files -z`.split("\x0").reject { |f| f.start_with?("spec/") }
26
+ rescue StandardError
27
+ Dir.glob("{lib}/**/*", base: __dir__) + ["README.md", "ranla.gemspec", "Gemfile"]
28
+ end
29
+
30
+ spec.require_paths = ["lib"]
31
+
32
+ spec.add_dependency "supersendtx", "~> 0.8.5"
33
+ spec.add_development_dependency "minitest", "~> 5.25"
34
+ end
metadata ADDED
@@ -0,0 +1,82 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: ranla
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.8.5
5
+ platform: ruby
6
+ authors:
7
+ - Ranla
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2026-08-19 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: supersendtx
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 0.8.5
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 0.8.5
27
+ - !ruby/object:Gem::Dependency
28
+ name: minitest
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '5.25'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '5.25'
41
+ description: Official Ruby client for the Ranla REST API.
42
+ email:
43
+ - support@ranla.ai
44
+ executables: []
45
+ extensions: []
46
+ extra_rdoc_files: []
47
+ files:
48
+ - Gemfile
49
+ - Gemfile.lock
50
+ - README.md
51
+ - lib/ranla.rb
52
+ - lib/ranla/client.rb
53
+ - lib/ranla/version.rb
54
+ - ranla.gemspec
55
+ homepage: https://ranla.ai
56
+ licenses:
57
+ - MIT
58
+ metadata:
59
+ homepage_uri: https://ranla.ai
60
+ source_code_uri: https://github.com/Super-Send/supersendtx-sdks/tree/main/ranla-ruby
61
+ documentation_uri: https://docs.ranla.ai/sdks/ruby
62
+ rubygems_mfa_required: 'true'
63
+ post_install_message:
64
+ rdoc_options: []
65
+ require_paths:
66
+ - lib
67
+ required_ruby_version: !ruby/object:Gem::Requirement
68
+ requirements:
69
+ - - ">="
70
+ - !ruby/object:Gem::Version
71
+ version: 3.1.0
72
+ required_rubygems_version: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - ">="
75
+ - !ruby/object:Gem::Version
76
+ version: '0'
77
+ requirements: []
78
+ rubygems_version: 3.5.22
79
+ signing_key:
80
+ specification_version: 4
81
+ summary: Ranla email API client for Ruby
82
+ test_files: []