Skip to content

Using Shark services

Jörgen Dahlke edited this page Jan 10, 2018 · 1 revision

Authorization

Create a Service-Token

See https://github.com/infopark-customers/bima-doorkeeper-core

Example

Shark.with_service_token(jwt) do
  Shark::ContactService::Group.find(42).first
end