This project partially adheres to semver 2.0.0 with the exception that breaking changes can be introduced on MINOR level up until v1.0.0. It also follows the recommendations of keepachangelog.com.
- Rename config to configuration
- None
- None
- None
- None
- None
- None
Responseinstance now includes requiredmin_api_versionin the root of request params taken from inputs.
Responseinstance now delegates to params viamethod_missing.
params = { foo: { bar: :baz }}
response = Viberroo::Response.new(params)
# Previously, those could only be accessed through params:
puts response.params.foo.bar
# Now those can be accessed directly:
puts response.foo.bar
Start a changelog.
- None
- Add empty default
Viberroo::Responseinstance toViberroo::Botconstructor to avoid setting redundant objects during webhook subscription phase e.g.Viberro::Bot.new(response: Viberroo::Response.new({})).set_webhookbecomesViberro::Bot.new.set_webhook. - Fix Ruby version compatibility from
2.4to correctly specified2.3.
- Deprecate
Bot#send. Will get replaced byBot#send_messagein next minor release.
- Add
Bot#send_messagethat acts same asBot#send.
- Logger entry for every
Botrequest that had no configuration options.