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
Response
instance now includes requiredmin_api_version
in the root of request params taken from inputs.
Response
instance 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::Response
instance toViberroo::Bot
constructor to avoid setting redundant objects during webhook subscription phase e.g.Viberro::Bot.new(response: Viberroo::Response.new({})).set_webhook
becomesViberro::Bot.new.set_webhook
. - Fix Ruby version compatibility from
2.4
to correctly specified2.3
.
- Deprecate
Bot#send
. Will get replaced byBot#send_message
in next minor release.
- Add
Bot#send_message
that acts same asBot#send
.
- Logger entry for every
Bot
request that had no configuration options.