Skip to content

v0.27.0 (Nov 13, 2023)

Choose a tag to compare

@ryz310 ryz310 released this 13 Nov 01:30
· 670 commits to master since this release
d97de36

Feature

api_clinet = ExampleApiClient.new(access_token: 'access_token')

# You can retrieve sawyer response with return value
api_clinet.get_users #=> #<Sawyer::Resource>

# You can retrieve sawyer response with block
api_clinet.get_users do |response|
  response #=> #<Sawyer::Response>
  response.headers #=> #<Hash>
  response.data #=> #<Sawyer::Resource>
end

Breaking Change

  • #931 End of support for ruby 2.7 and rails 6.0 (@ryz310)

Dependabot

Misc