wa_cloud_api 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '07686d03b3255beef59f09b95b3a7d8f066060cef6efe40daabfdac2c059fe70'
4
- data.tar.gz: b5abb355304203621971e7379f238b4ce9b3e6140145ddaa5ac5fabff6890565
3
+ metadata.gz: 84d622cdbb39eec1fe5984e5d6f747d5d471c771714f7d8883d5e36f021ed582
4
+ data.tar.gz: f70748309ebe1642c507f4e043c623123233f0353c960aae268807dfe1448508
5
5
  SHA512:
6
- metadata.gz: cee34746b53e2bb089a03caac5d2607020a661916897a17624fa353980023c8938718006623777e77cc44a5e0fbaf5aff40dd8c02492eab1bc5884e53940a37c
7
- data.tar.gz: 3c95163da97ee845e7661167b1ade0ff8d04f3929f6e5dc1399486b8a4b1faede4ee39ba2103cfbba208797f305fa6441ca7a0d0a0dd2e951257d585a9a972e4
6
+ metadata.gz: 5a321a7ea5599a9c69c1218abf5d66c68960290cba9d2c094598acd2811f4946f5603fc42fb97d2a479706bcc96e95b1511a602015d30b485a13e6c3a22d3419
7
+ data.tar.gz: 3c3e916a74fc2af0d3f0608390fb1ebe0fe87d5d9f985deb9fe2212ddcba7cc5fc356aedb62a550365f2e22f22746d151ebc34fb5b68d1ad00435e523a35dd59
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024 RAJANA VENKATA SURYA TEJA
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
data/README.md CHANGED
@@ -1,35 +1,105 @@
1
1
  # WaCloudApi
2
2
 
3
- TODO: Delete this and the text below, and describe your gem
3
+ WaCloudApi is a ruby gem that provides a convinient way to interact with Whatsapp Cloud API allowing developer to integrate Whatsapp messaging capabilities into Ruby / Rails applications.
4
4
 
5
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/wa_cloud_api`. To experiment with that code, run `bin/console` for an interactive prompt.
5
+ # Installation
6
+ Install the gem and add to the application's Gemfile by executing:
6
7
 
7
- ## Installation
8
+ ```bash
9
+ $ bundle add wa_cloud_api
10
+ ```
8
11
 
9
- TODO: Replace `UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG` with your gem name right after releasing it to RubyGems.org. Please do not do it earlier due to security reasons. Alternatively, replace this section with instructions to install your gem from git if you don't plan to release to RubyGems.org.
12
+ If bundler is not being used to manage dependencies, install the gem by executing:
10
13
 
11
- Install the gem and add to the application's Gemfile by executing:
14
+ ```bash
15
+ $ gem install wa_cloud_api
16
+ ```
12
17
 
13
- $ bundle add UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG
18
+ # Usage
14
19
 
15
- If bundler is not being used to manage dependencies, install the gem by executing:
20
+ ### Configuration
21
+
22
+ Before using the gem, you need to configure it with your WhatsApp Cloud API credentials. You can do this by using the following code:
23
+
24
+ ```ruby
25
+ require 'wa_cloud_api'
26
+
27
+ WaCloudApi.configure do |config|
28
+ config.phone_number_id = 'your_phone_number_id'
29
+ config.token = 'your_token'
30
+ end
31
+ ```
32
+
33
+ ### Features
34
+
35
+ - Text Message
36
+ - Reaction
37
+ - Location
38
+
39
+ ### Text Message
40
+
41
+ To send a text message to a phone number.
42
+
43
+ Parameters
16
44
 
17
- $ gem install UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG
45
+ 1. `to`: (Required) The phone number of the recipient. It should be in international format
46
+ 2. `body`: (Required) The actual text message you want to send
47
+ 3. `preview_url`: (Optional) A boolean parameter whether a URL preview should be generated for the links in the message. By default it is set to false
18
48
 
19
- ## Usage
49
+ ```ruby
50
+ WaCloudApi::Message::Text.new(
51
+ to: 'recipient_phone_number ',
52
+ body: 'This is a test message',
53
+ ).deliver
54
+ ```
20
55
 
21
- TODO: Write usage instructions here
56
+ ### Reaction
57
+
58
+ To send a reaction to a message
59
+
60
+ Parameters
61
+
62
+ 1. `to`: (Required) The phone number of the recipient. It should be in international format
63
+ 2. `message_id`: (required) The message id you want to react
64
+ 3. `emoji`: (required) The emoji you want to react
65
+
66
+ ```ruby
67
+ WaCloudApi::Message::Reaction.new(
68
+ to: 'recipient_phone_number',
69
+ message_id: 'whatsapp_message_id',
70
+ emoji: 'emoji'
71
+ ).deliver
72
+ ```
73
+
74
+ ### Location
75
+
76
+ To send a location to a phone number
77
+
78
+ Parameters
79
+
80
+ 1. `to`: (Required) The phone number of the recipient. It should be in international format
81
+ 2. `longitude`: (Required) Longitude of the location
82
+ 3. `latitude`: (Required) Latitude of the location
83
+ 4. `name`: (Optional) Name of the location
84
+ 5. `address`: (Optional) Address of the location
85
+
86
+ ```ruby
87
+ WaCloudApi::Message::Location.new(
88
+ to: 'recipient_phone_number',
89
+ longitude: 'longitude',
90
+ latitude: 'latitude',
91
+ name: 'location_name',
92
+ address: 'location_address'
93
+ ).deliver
94
+ ```
22
95
 
23
96
  ## Development
24
97
 
25
98
  After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
26
99
 
27
- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
100
+ To install this gem onto your local machine, run `bundle exec rake install`.
28
101
 
29
- ## Contributing
30
-
31
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/wa_cloud_api. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/[USERNAME]/wa_cloud_api/blob/main/CODE_OF_CONDUCT.md).
32
102
 
33
- ## Code of Conduct
103
+ ## Contributing
34
104
 
35
- Everyone interacting in the WaCloudApi project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/wa_cloud_api/blob/main/CODE_OF_CONDUCT.md).
105
+ Bug reports and pull requests are welcome on GitHub at https://github.com/rvs-teja/wa_cloud_api. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/rvs-teja/wa_cloud_api/blob/main/CODE_OF_CONDUCT.md).
data/Rakefile CHANGED
@@ -1,4 +1,10 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "bundler/gem_tasks"
3
+ require 'bundler/gem_tasks'
4
+ require 'rspec/core/rake_task'
5
+
4
6
  task default: %i[]
7
+
8
+ desc 'Run test'
9
+ RSpec::Core::RakeTask.new(:spec)
10
+ task default: :spec
@@ -0,0 +1,17 @@
1
+ # frozen_string_literal: true
2
+
3
+ module WaCloudApi
4
+ class Client
5
+ def deliver(_params)
6
+ validate_configuration
7
+ end
8
+
9
+ private
10
+
11
+ def validate_configuration
12
+ raise ArgumentError, 'Configuration is not set' if WaCloudApi.configuration.nil?
13
+
14
+ WaCloudApi.configuration.valid?
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,23 @@
1
+ # frozen_string_literal: true
2
+
3
+ module WaCloudApi
4
+ class Configuration
5
+ attr_accessor :phone_number_id, :token
6
+
7
+ MANDATORY_ATTRIBUTES = %i[phone_number_id token].freeze
8
+
9
+ def initialize
10
+ @missing_params = []
11
+ end
12
+
13
+ def valid?
14
+ MANDATORY_ATTRIBUTES.each do |attribute|
15
+ @missing_params << attribute unless instance_variable_defined?("@#{attribute}")
16
+ end
17
+
18
+ raise ArgumentError, "#{@missing_params.join(', ')} are not set in configuration" unless @missing_params.empty?
19
+
20
+ true
21
+ end
22
+ end
23
+ end
@@ -0,0 +1,24 @@
1
+ module WaCloudApi
2
+ module Message
3
+ class Base
4
+ attr_accessor :messaging_product, :recipient_type, :to, :type
5
+
6
+ def initialize(to:, type:)
7
+ @messaging_product = 'whatsapp'
8
+ @recipient_type = 'individual'
9
+ @to = to
10
+ @type = type
11
+ end
12
+
13
+ def deliver
14
+ Service.deliver(params: request_params)
15
+ end
16
+
17
+ private
18
+
19
+ def request_params
20
+ raise NotImplementedError, 'Should be implemented by child class'
21
+ end
22
+ end
23
+ end
24
+ end
@@ -0,0 +1,39 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'faraday'
4
+ require 'json'
5
+
6
+ require_relative 'response'
7
+ require_relative '../client'
8
+
9
+ module WaCloudApi
10
+ module Message
11
+ class Client < WaCloudApi::Client
12
+ def self.deliver(params:)
13
+ response = new.deliver(params)
14
+ Response.new(response.status, response.body)
15
+ end
16
+
17
+ def deliver(params)
18
+ super
19
+ conn.post do |req|
20
+ req.body = params.to_json
21
+ end
22
+ end
23
+
24
+ private
25
+
26
+ def url
27
+ "https://graph.facebook.com/v18.0/#{WaCloudApi.configuration.phone_number_id}/messages"
28
+ end
29
+
30
+ def conn
31
+ @conn ||= Faraday.new(url: url) do |faraday|
32
+ faraday.adapter Faraday.default_adapter
33
+ faraday.headers['Authorization'] = "Bearer #{WaCloudApi.configuration.token}"
34
+ faraday.headers['Content-Type'] = 'application/json'
35
+ end
36
+ end
37
+ end
38
+ end
39
+ end
@@ -0,0 +1,18 @@
1
+ # frozen_string_literal: true
2
+
3
+ module WaCloudApi
4
+ module Message
5
+ Error = Struct.new(:message, :type, :code, :fbtrace_id, :error_subcode, :error_data, keyword_init: true) do
6
+
7
+ def handle_error
8
+ raise WaCloudApi::Error, error_message
9
+ end
10
+
11
+ private
12
+
13
+ def error_message
14
+ error_data&.dig(:details) || message
15
+ end
16
+ end
17
+ end
18
+ end
@@ -0,0 +1,33 @@
1
+ require_relative 'base'
2
+
3
+ module WaCloudApi
4
+ module Message
5
+ class Location < Base
6
+ attr_accessor :longitude, :latitude, :name, :address
7
+
8
+ def initialize(to:, longitude:, latitude:, name: nil, address: nil)
9
+ @longitude = longitude
10
+ @latitude = latitude
11
+ @name = name
12
+ @address = address
13
+ super(to: to, type: 'location')
14
+ end
15
+
16
+ private
17
+
18
+ def request_params
19
+ {
20
+ messaging_product: messaging_product,
21
+ to: to,
22
+ type: type,
23
+ location: {
24
+ longitude: longitude,
25
+ latitude: latitude,
26
+ name: name,
27
+ address: address
28
+ }
29
+ }
30
+ end
31
+ end
32
+ end
33
+ end
@@ -0,0 +1,32 @@
1
+ require 'json'
2
+
3
+ require_relative 'base'
4
+
5
+ module WaCloudApi
6
+ module Message
7
+ class Reaction < Base
8
+ attr_accessor :message_id, :emoji
9
+
10
+ def initialize(to:, message_id:, emoji:)
11
+ @message_id = message_id
12
+ @emoji = JSON.parse("\"#{emoji}\"").encode('utf-8')
13
+ super(to: to, type: 'reaction')
14
+ end
15
+
16
+ private
17
+
18
+ def request_params
19
+ {
20
+ messaging_product: messaging_product,
21
+ recipient_type: recipient_type,
22
+ to: to,
23
+ type: type,
24
+ "reaction": {
25
+ "message_id": message_id,
26
+ "emoji": emoji
27
+ }
28
+ }
29
+ end
30
+ end
31
+ end
32
+ end
@@ -0,0 +1,45 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'json'
4
+
5
+ module WaCloudApi
6
+ module Message
7
+ class Response
8
+ Contact = Struct.new(:input, :wa_id, keyword_init: true)
9
+ Message = Struct.new(:id, keyword_init: true)
10
+
11
+ attr_accessor :status, :data
12
+
13
+ def initialize(status, response)
14
+ @status = status.to_i
15
+ @data = convert_keys_to_symbols(JSON.parse(response))
16
+ end
17
+
18
+ def ok?
19
+ status == 200
20
+ end
21
+
22
+ def contacts
23
+ data[:contacts]&.map(&Contact.method(:new)) || []
24
+ end
25
+
26
+ def messages
27
+ data[:messages]&.map(&Message.method(:new)) || []
28
+ end
29
+
30
+ private
31
+
32
+ def convert_keys_to_symbols(obj)
33
+ case obj
34
+ when Hash
35
+ obj.transform_keys(&:to_sym)
36
+ .transform_values { |value| convert_keys_to_symbols(value) }
37
+ when Array
38
+ obj.map { |item| convert_keys_to_symbols(item) }
39
+ else
40
+ obj
41
+ end
42
+ end
43
+ end
44
+ end
45
+ end
@@ -0,0 +1,24 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative 'client'
4
+ require_relative 'error'
5
+
6
+ module WaCloudApi
7
+ module Message
8
+ class Service
9
+ class << self
10
+ def deliver(params:)
11
+ response = Client.deliver(params: params)
12
+ handle_failure(response) unless response.ok?
13
+ response
14
+ end
15
+
16
+ private
17
+
18
+ def handle_failure(response)
19
+ WaCloudApi::Message::Error.new(response.data[:error]).handle_error
20
+ end
21
+ end
22
+ end
23
+ end
24
+ end
@@ -0,0 +1,33 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative 'service'
4
+ require_relative 'base'
5
+
6
+ module WaCloudApi
7
+ module Message
8
+ class Text < Base
9
+ attr_accessor :preview_url, :body
10
+
11
+ def initialize(to:, body:, preview_url: false)
12
+ @body = body
13
+ @preview_url = preview_url || false
14
+ super(to: to, type: 'text')
15
+ end
16
+
17
+ private
18
+
19
+ def request_params
20
+ {
21
+ messaging_product: messaging_product,
22
+ recipient_type: recipient_type,
23
+ to: to,
24
+ type: type,
25
+ text: {
26
+ preview_url: preview_url,
27
+ body: body
28
+ }
29
+ }
30
+ end
31
+ end
32
+ end
33
+ end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module WaCloudApi
4
- VERSION = "0.1.0"
4
+ VERSION = '0.1.1'
5
5
  end
data/lib/wa_cloud_api.rb CHANGED
@@ -1,8 +1,20 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require_relative "wa_cloud_api/version"
3
+ require_relative 'wa_cloud_api/version'
4
+ require_relative 'wa_cloud_api/message/text'
5
+ require_relative 'wa_cloud_api/message/reaction'
6
+ require_relative 'wa_cloud_api/message/location'
7
+ require_relative 'wa_cloud_api/configuration'
4
8
 
5
9
  module WaCloudApi
6
10
  class Error < StandardError; end
7
- # Your code goes here...
11
+
12
+ class << self
13
+ attr_accessor :configuration
14
+ end
15
+
16
+ def self.configure
17
+ self.configuration ||= Configuration.new
18
+ yield(configuration)
19
+ end
8
20
  end
data/wa_cloud_api.gemspec CHANGED
@@ -1,23 +1,23 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require_relative "lib/wa_cloud_api/version"
3
+ require_relative 'lib/wa_cloud_api/version'
4
4
 
5
5
  Gem::Specification.new do |spec|
6
- spec.name = "wa_cloud_api"
6
+ spec.name = 'wa_cloud_api'
7
7
  spec.version = WaCloudApi::VERSION
8
- spec.authors = ["rvs-teja"]
9
- spec.email = ["rvs.teja@jiva.ag"]
8
+ spec.authors = ['teja-rvs']
9
+ spec.email = ['tejaprogramer@gmail.com']
10
10
 
11
- spec.summary = "Ruby SDK for Whatsapp Cloud API"
12
- spec.description = "API for Whatsapp Cloud API"
13
- spec.homepage = "https://github.com/rvs-teja/wa_cloud_api"
14
- spec.required_ruby_version = ">= 2.6.0"
11
+ spec.summary = 'Ruby SDK for whatsapp cloud api'
12
+ spec.description = 'Ruby SDK for whatsapp cloud api'
13
+ spec.homepage = 'https://github.com/rvs-teja/wa_cloud_api'
14
+ spec.required_ruby_version = '>= 2.6.0'
15
15
 
16
16
  # spec.metadata["allowed_push_host"] = "TODO: Set to your gem server 'https://example.com'"
17
17
 
18
- spec.metadata["homepage_uri"] = spec.homepage
19
- spec.metadata["source_code_uri"] = "https://github.com/rvs-teja/wa_cloud_api"
20
- spec.metadata["changelog_uri"] = "https://github.com/rvs-teja/wa_cloud_api/CHANGELOG.md"
18
+ spec.metadata['homepage_uri'] = spec.homepage
19
+ spec.metadata['source_code_uri'] = 'https://github.com/rvs-teja/wa_cloud_api'
20
+ spec.metadata['changelog_uri'] = 'https://github.com/rvs-teja/wa_cloud_api/blob/main/CHANGELOG.md'
21
21
 
22
22
  # Specify which files should be added to the gem when it is released.
23
23
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
@@ -27,12 +27,13 @@ Gem::Specification.new do |spec|
27
27
  f.start_with?(*%w[bin/ test/ spec/ features/ .git appveyor Gemfile])
28
28
  end
29
29
  end
30
- spec.bindir = "exe"
30
+ spec.bindir = 'exe'
31
31
  spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
32
- spec.require_paths = ["lib"]
32
+ spec.require_paths = ['lib']
33
33
 
34
34
  # Uncomment to register a new dependency of your gem
35
- # spec.add_dependency "example-gem", "~> 1.0"
35
+ spec.add_dependency 'faraday', '~> 2.9'
36
+ spec.add_dependency 'rubocop', '~> 1.60', '>= 1.60.1'
36
37
 
37
38
  # For more information and examples about making a new gem, check out our
38
39
  # guide at: https://bundler.io/guides/creating_gem.html
metadata CHANGED
@@ -1,27 +1,72 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wa_cloud_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
- - rvs-teja
7
+ - teja-rvs
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-01-10 00:00:00.000000000 Z
12
- dependencies: []
13
- description: API for Whatsapp Cloud API
11
+ date: 2024-03-23 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: faraday
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '2.9'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '2.9'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rubocop
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.60'
34
+ - - ">="
35
+ - !ruby/object:Gem::Version
36
+ version: 1.60.1
37
+ type: :runtime
38
+ prerelease: false
39
+ version_requirements: !ruby/object:Gem::Requirement
40
+ requirements:
41
+ - - "~>"
42
+ - !ruby/object:Gem::Version
43
+ version: '1.60'
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ version: 1.60.1
47
+ description: Ruby SDK for whatsapp cloud api
14
48
  email:
15
- - rvs.teja@jiva.ag
49
+ - tejaprogramer@gmail.com
16
50
  executables: []
17
51
  extensions: []
18
52
  extra_rdoc_files: []
19
53
  files:
20
54
  - CHANGELOG.md
21
55
  - CODE_OF_CONDUCT.md
56
+ - LICENSE
22
57
  - README.md
23
58
  - Rakefile
24
59
  - lib/wa_cloud_api.rb
60
+ - lib/wa_cloud_api/client.rb
61
+ - lib/wa_cloud_api/configuration.rb
62
+ - lib/wa_cloud_api/message/base.rb
63
+ - lib/wa_cloud_api/message/client.rb
64
+ - lib/wa_cloud_api/message/error.rb
65
+ - lib/wa_cloud_api/message/location.rb
66
+ - lib/wa_cloud_api/message/reaction.rb
67
+ - lib/wa_cloud_api/message/response.rb
68
+ - lib/wa_cloud_api/message/service.rb
69
+ - lib/wa_cloud_api/message/text.rb
25
70
  - lib/wa_cloud_api/version.rb
26
71
  - sig/wa_cloud_api.rbs
27
72
  - wa_cloud_api.gemspec
@@ -30,7 +75,7 @@ licenses: []
30
75
  metadata:
31
76
  homepage_uri: https://github.com/rvs-teja/wa_cloud_api
32
77
  source_code_uri: https://github.com/rvs-teja/wa_cloud_api
33
- changelog_uri: https://github.com/rvs-teja/wa_cloud_api/CHANGELOG.md
78
+ changelog_uri: https://github.com/rvs-teja/wa_cloud_api/blob/main/CHANGELOG.md
34
79
  post_install_message:
35
80
  rdoc_options: []
36
81
  require_paths:
@@ -49,5 +94,5 @@ requirements: []
49
94
  rubygems_version: 3.3.7
50
95
  signing_key:
51
96
  specification_version: 4
52
- summary: Ruby SDK for Whatsapp Cloud API
97
+ summary: Ruby SDK for whatsapp cloud api
53
98
  test_files: []