├── .gitattributes
├── .gitignore
├── .ruby-version
├── Gemfile
├── Gemfile.lock
├── Procfile.dev
├── Procfile.txt
├── README.md
├── Rakefile
├── app
├── assets
│ ├── builds
│ │ └── .keep
│ ├── config
│ │ └── manifest.js
│ ├── images
│ │ └── .keep
│ └── stylesheets
│ │ ├── application.css
│ │ └── application.tailwind.css
├── controllers
│ ├── application_controller.rb
│ ├── concerns
│ │ └── .keep
│ ├── messages_controller.rb
│ └── whatsapp_webhooks_controller.rb
├── helpers
│ ├── application_helper.rb
│ └── messages_helper.rb
├── javascript
│ ├── application.js
│ └── controllers
│ │ ├── application.js
│ │ ├── hello_controller.js
│ │ └── index.js
├── jobs
│ └── application_job.rb
├── mailers
│ └── application_mailer.rb
├── models
│ ├── application_record.rb
│ ├── concerns
│ │ └── .keep
│ └── message.rb
└── views
│ ├── layouts
│ ├── application.html.erb
│ ├── mailer.html.erb
│ └── mailer.text.erb
│ ├── messages
│ ├── _form.html.erb
│ ├── _powered_by.html.erb
│ ├── edit.html.erb
│ ├── index.html.erb
│ ├── new.html.erb
│ └── show.html.erb
│ └── whatsapp_webhooks
│ └── index.html.erb
├── bin
├── bundle
├── dev
├── importmap
├── rails
├── rake
└── setup
├── config.ru
├── config
├── application.rb
├── boot.rb
├── cable.yml
├── database.yml
├── environment.rb
├── environments
│ ├── development.rb
│ ├── production.rb
│ └── test.rb
├── importmap.rb
├── initializers
│ ├── assets.rb
│ ├── content_security_policy.rb
│ ├── filter_parameter_logging.rb
│ ├── inflections.rb
│ ├── permissions_policy.rb
│ └── whatsapp_sdk.rb
├── locales
│ └── en.yml
├── puma.rb
├── routes.rb
├── storage.yml
└── tailwind.config.js
├── db
├── migrate
│ ├── 20220926234043_create_messages.rb
│ └── 20221001194443_add_raw_respnse_to_messages.rb
├── schema.rb
└── seeds.rb
├── lib
├── assets
│ └── .keep
└── tasks
│ └── .keep
├── log
└── .keep
├── public
├── 404.html
├── 422.html
├── 500.html
├── apple-touch-icon-precomposed.png
├── apple-touch-icon.png
├── favicon.ico
└── robots.txt
├── storage
└── .keep
├── test
├── application_system_test_case.rb
├── channels
│ └── application_cable
│ │ └── connection_test.rb
├── controllers
│ └── messages_controller_test.rb
├── fixtures
│ └── messages.yml
├── helpers
│ └── .keep
├── integration
│ └── .keep
├── mailers
│ └── .keep
├── models
│ └── message_test.rb
├── system
│ └── messages_test.rb
└── test_helper.rb
├── tmp
├── .keep
├── pids
│ └── .keep
└── storage
│ └── .keep
└── vendor
└── javascript
└── .keep
/.gitattributes:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ignacio-chiazzo/ruby_on_rails_whatsapp_example/HEAD/.gitattributes
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ignacio-chiazzo/ruby_on_rails_whatsapp_example/HEAD/.gitignore
--------------------------------------------------------------------------------
/.ruby-version:
--------------------------------------------------------------------------------
1 | ruby-3.0.0
2 |
--------------------------------------------------------------------------------
/Gemfile:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ignacio-chiazzo/ruby_on_rails_whatsapp_example/HEAD/Gemfile
--------------------------------------------------------------------------------
/Gemfile.lock:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ignacio-chiazzo/ruby_on_rails_whatsapp_example/HEAD/Gemfile.lock
--------------------------------------------------------------------------------
/Procfile.dev:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ignacio-chiazzo/ruby_on_rails_whatsapp_example/HEAD/Procfile.dev
--------------------------------------------------------------------------------
/Procfile.txt:
--------------------------------------------------------------------------------
1 | bundle exec rails server -p 3000
2 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ignacio-chiazzo/ruby_on_rails_whatsapp_example/HEAD/README.md
--------------------------------------------------------------------------------
/Rakefile:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ignacio-chiazzo/ruby_on_rails_whatsapp_example/HEAD/Rakefile
--------------------------------------------------------------------------------
/app/assets/builds/.keep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/assets/config/manifest.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ignacio-chiazzo/ruby_on_rails_whatsapp_example/HEAD/app/assets/config/manifest.js
--------------------------------------------------------------------------------
/app/assets/images/.keep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/assets/stylesheets/application.css:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ignacio-chiazzo/ruby_on_rails_whatsapp_example/HEAD/app/assets/stylesheets/application.css
--------------------------------------------------------------------------------
/app/assets/stylesheets/application.tailwind.css:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ignacio-chiazzo/ruby_on_rails_whatsapp_example/HEAD/app/assets/stylesheets/application.tailwind.css
--------------------------------------------------------------------------------
/app/controllers/application_controller.rb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ignacio-chiazzo/ruby_on_rails_whatsapp_example/HEAD/app/controllers/application_controller.rb
--------------------------------------------------------------------------------
/app/controllers/concerns/.keep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/controllers/messages_controller.rb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ignacio-chiazzo/ruby_on_rails_whatsapp_example/HEAD/app/controllers/messages_controller.rb
--------------------------------------------------------------------------------
/app/controllers/whatsapp_webhooks_controller.rb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ignacio-chiazzo/ruby_on_rails_whatsapp_example/HEAD/app/controllers/whatsapp_webhooks_controller.rb
--------------------------------------------------------------------------------
/app/helpers/application_helper.rb:
--------------------------------------------------------------------------------
1 | module ApplicationHelper
2 | end
3 |
--------------------------------------------------------------------------------
/app/helpers/messages_helper.rb:
--------------------------------------------------------------------------------
1 | module MessagesHelper
2 | end
3 |
--------------------------------------------------------------------------------
/app/javascript/application.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ignacio-chiazzo/ruby_on_rails_whatsapp_example/HEAD/app/javascript/application.js
--------------------------------------------------------------------------------
/app/javascript/controllers/application.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ignacio-chiazzo/ruby_on_rails_whatsapp_example/HEAD/app/javascript/controllers/application.js
--------------------------------------------------------------------------------
/app/javascript/controllers/hello_controller.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ignacio-chiazzo/ruby_on_rails_whatsapp_example/HEAD/app/javascript/controllers/hello_controller.js
--------------------------------------------------------------------------------
/app/javascript/controllers/index.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ignacio-chiazzo/ruby_on_rails_whatsapp_example/HEAD/app/javascript/controllers/index.js
--------------------------------------------------------------------------------
/app/jobs/application_job.rb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ignacio-chiazzo/ruby_on_rails_whatsapp_example/HEAD/app/jobs/application_job.rb
--------------------------------------------------------------------------------
/app/mailers/application_mailer.rb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ignacio-chiazzo/ruby_on_rails_whatsapp_example/HEAD/app/mailers/application_mailer.rb
--------------------------------------------------------------------------------
/app/models/application_record.rb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ignacio-chiazzo/ruby_on_rails_whatsapp_example/HEAD/app/models/application_record.rb
--------------------------------------------------------------------------------
/app/models/concerns/.keep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/models/message.rb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ignacio-chiazzo/ruby_on_rails_whatsapp_example/HEAD/app/models/message.rb
--------------------------------------------------------------------------------
/app/views/layouts/application.html.erb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ignacio-chiazzo/ruby_on_rails_whatsapp_example/HEAD/app/views/layouts/application.html.erb
--------------------------------------------------------------------------------
/app/views/layouts/mailer.html.erb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ignacio-chiazzo/ruby_on_rails_whatsapp_example/HEAD/app/views/layouts/mailer.html.erb
--------------------------------------------------------------------------------
/app/views/layouts/mailer.text.erb:
--------------------------------------------------------------------------------
1 | <%= yield %>
2 |
--------------------------------------------------------------------------------
/app/views/messages/_form.html.erb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ignacio-chiazzo/ruby_on_rails_whatsapp_example/HEAD/app/views/messages/_form.html.erb
--------------------------------------------------------------------------------
/app/views/messages/_powered_by.html.erb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ignacio-chiazzo/ruby_on_rails_whatsapp_example/HEAD/app/views/messages/_powered_by.html.erb
--------------------------------------------------------------------------------
/app/views/messages/edit.html.erb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ignacio-chiazzo/ruby_on_rails_whatsapp_example/HEAD/app/views/messages/edit.html.erb
--------------------------------------------------------------------------------
/app/views/messages/index.html.erb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ignacio-chiazzo/ruby_on_rails_whatsapp_example/HEAD/app/views/messages/index.html.erb
--------------------------------------------------------------------------------
/app/views/messages/new.html.erb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ignacio-chiazzo/ruby_on_rails_whatsapp_example/HEAD/app/views/messages/new.html.erb
--------------------------------------------------------------------------------
/app/views/messages/show.html.erb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ignacio-chiazzo/ruby_on_rails_whatsapp_example/HEAD/app/views/messages/show.html.erb
--------------------------------------------------------------------------------
/app/views/whatsapp_webhooks/index.html.erb:
--------------------------------------------------------------------------------
1 |
Hello!
2 |
--------------------------------------------------------------------------------
/bin/bundle:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ignacio-chiazzo/ruby_on_rails_whatsapp_example/HEAD/bin/bundle
--------------------------------------------------------------------------------
/bin/dev:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ignacio-chiazzo/ruby_on_rails_whatsapp_example/HEAD/bin/dev
--------------------------------------------------------------------------------
/bin/importmap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ignacio-chiazzo/ruby_on_rails_whatsapp_example/HEAD/bin/importmap
--------------------------------------------------------------------------------
/bin/rails:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ignacio-chiazzo/ruby_on_rails_whatsapp_example/HEAD/bin/rails
--------------------------------------------------------------------------------
/bin/rake:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ignacio-chiazzo/ruby_on_rails_whatsapp_example/HEAD/bin/rake
--------------------------------------------------------------------------------
/bin/setup:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ignacio-chiazzo/ruby_on_rails_whatsapp_example/HEAD/bin/setup
--------------------------------------------------------------------------------
/config.ru:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ignacio-chiazzo/ruby_on_rails_whatsapp_example/HEAD/config.ru
--------------------------------------------------------------------------------
/config/application.rb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ignacio-chiazzo/ruby_on_rails_whatsapp_example/HEAD/config/application.rb
--------------------------------------------------------------------------------
/config/boot.rb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ignacio-chiazzo/ruby_on_rails_whatsapp_example/HEAD/config/boot.rb
--------------------------------------------------------------------------------
/config/cable.yml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ignacio-chiazzo/ruby_on_rails_whatsapp_example/HEAD/config/cable.yml
--------------------------------------------------------------------------------
/config/database.yml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ignacio-chiazzo/ruby_on_rails_whatsapp_example/HEAD/config/database.yml
--------------------------------------------------------------------------------
/config/environment.rb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ignacio-chiazzo/ruby_on_rails_whatsapp_example/HEAD/config/environment.rb
--------------------------------------------------------------------------------
/config/environments/development.rb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ignacio-chiazzo/ruby_on_rails_whatsapp_example/HEAD/config/environments/development.rb
--------------------------------------------------------------------------------
/config/environments/production.rb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ignacio-chiazzo/ruby_on_rails_whatsapp_example/HEAD/config/environments/production.rb
--------------------------------------------------------------------------------
/config/environments/test.rb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ignacio-chiazzo/ruby_on_rails_whatsapp_example/HEAD/config/environments/test.rb
--------------------------------------------------------------------------------
/config/importmap.rb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ignacio-chiazzo/ruby_on_rails_whatsapp_example/HEAD/config/importmap.rb
--------------------------------------------------------------------------------
/config/initializers/assets.rb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ignacio-chiazzo/ruby_on_rails_whatsapp_example/HEAD/config/initializers/assets.rb
--------------------------------------------------------------------------------
/config/initializers/content_security_policy.rb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ignacio-chiazzo/ruby_on_rails_whatsapp_example/HEAD/config/initializers/content_security_policy.rb
--------------------------------------------------------------------------------
/config/initializers/filter_parameter_logging.rb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ignacio-chiazzo/ruby_on_rails_whatsapp_example/HEAD/config/initializers/filter_parameter_logging.rb
--------------------------------------------------------------------------------
/config/initializers/inflections.rb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ignacio-chiazzo/ruby_on_rails_whatsapp_example/HEAD/config/initializers/inflections.rb
--------------------------------------------------------------------------------
/config/initializers/permissions_policy.rb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ignacio-chiazzo/ruby_on_rails_whatsapp_example/HEAD/config/initializers/permissions_policy.rb
--------------------------------------------------------------------------------
/config/initializers/whatsapp_sdk.rb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ignacio-chiazzo/ruby_on_rails_whatsapp_example/HEAD/config/initializers/whatsapp_sdk.rb
--------------------------------------------------------------------------------
/config/locales/en.yml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ignacio-chiazzo/ruby_on_rails_whatsapp_example/HEAD/config/locales/en.yml
--------------------------------------------------------------------------------
/config/puma.rb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ignacio-chiazzo/ruby_on_rails_whatsapp_example/HEAD/config/puma.rb
--------------------------------------------------------------------------------
/config/routes.rb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ignacio-chiazzo/ruby_on_rails_whatsapp_example/HEAD/config/routes.rb
--------------------------------------------------------------------------------
/config/storage.yml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ignacio-chiazzo/ruby_on_rails_whatsapp_example/HEAD/config/storage.yml
--------------------------------------------------------------------------------
/config/tailwind.config.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ignacio-chiazzo/ruby_on_rails_whatsapp_example/HEAD/config/tailwind.config.js
--------------------------------------------------------------------------------
/db/migrate/20220926234043_create_messages.rb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ignacio-chiazzo/ruby_on_rails_whatsapp_example/HEAD/db/migrate/20220926234043_create_messages.rb
--------------------------------------------------------------------------------
/db/migrate/20221001194443_add_raw_respnse_to_messages.rb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ignacio-chiazzo/ruby_on_rails_whatsapp_example/HEAD/db/migrate/20221001194443_add_raw_respnse_to_messages.rb
--------------------------------------------------------------------------------
/db/schema.rb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ignacio-chiazzo/ruby_on_rails_whatsapp_example/HEAD/db/schema.rb
--------------------------------------------------------------------------------
/db/seeds.rb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ignacio-chiazzo/ruby_on_rails_whatsapp_example/HEAD/db/seeds.rb
--------------------------------------------------------------------------------
/lib/assets/.keep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/lib/tasks/.keep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/log/.keep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/public/404.html:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ignacio-chiazzo/ruby_on_rails_whatsapp_example/HEAD/public/404.html
--------------------------------------------------------------------------------
/public/422.html:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ignacio-chiazzo/ruby_on_rails_whatsapp_example/HEAD/public/422.html
--------------------------------------------------------------------------------
/public/500.html:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ignacio-chiazzo/ruby_on_rails_whatsapp_example/HEAD/public/500.html
--------------------------------------------------------------------------------
/public/apple-touch-icon-precomposed.png:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/public/apple-touch-icon.png:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/public/favicon.ico:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/public/robots.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ignacio-chiazzo/ruby_on_rails_whatsapp_example/HEAD/public/robots.txt
--------------------------------------------------------------------------------
/storage/.keep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/application_system_test_case.rb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ignacio-chiazzo/ruby_on_rails_whatsapp_example/HEAD/test/application_system_test_case.rb
--------------------------------------------------------------------------------
/test/channels/application_cable/connection_test.rb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ignacio-chiazzo/ruby_on_rails_whatsapp_example/HEAD/test/channels/application_cable/connection_test.rb
--------------------------------------------------------------------------------
/test/controllers/messages_controller_test.rb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ignacio-chiazzo/ruby_on_rails_whatsapp_example/HEAD/test/controllers/messages_controller_test.rb
--------------------------------------------------------------------------------
/test/fixtures/messages.yml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ignacio-chiazzo/ruby_on_rails_whatsapp_example/HEAD/test/fixtures/messages.yml
--------------------------------------------------------------------------------
/test/helpers/.keep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/integration/.keep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/mailers/.keep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/models/message_test.rb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ignacio-chiazzo/ruby_on_rails_whatsapp_example/HEAD/test/models/message_test.rb
--------------------------------------------------------------------------------
/test/system/messages_test.rb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ignacio-chiazzo/ruby_on_rails_whatsapp_example/HEAD/test/system/messages_test.rb
--------------------------------------------------------------------------------
/test/test_helper.rb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ignacio-chiazzo/ruby_on_rails_whatsapp_example/HEAD/test/test_helper.rb
--------------------------------------------------------------------------------
/tmp/.keep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/tmp/pids/.keep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/tmp/storage/.keep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/vendor/javascript/.keep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------