Class: Dibuk::Client
- Inherits:
-
Object
- Object
- Dibuk::Client
- Extended by:
- Dry::Initializer::Mixin
- Defined in:
- lib/dibuk/client.rb
Instance Method Summary collapse
Instance Method Details
#license(user, item) ⇒ Object
9 10 11 12 |
# File 'lib/dibuk/client.rb', line 9 def license(user, item) request = Dibuk::Request::License.new(user, item) Dibuk::Response::Licensed.new(http_response: call(request)) end |