Sha256: b2ffe5ec8a0ae5cdcf65544d7494a1f9e7229b7387c97fc0f7bda5d2f0374160
Contents?: true
Size: 503 Bytes
Versions: 1
Compression:
Stored size: 503 Bytes
Contents
# frozen_string_literal: true module Lokalise module OAuth2 module Request include Lokalise::BaseRequest include Lokalise::OAuth2::Connection def post(path, params = {}) respond_with connection.post(prepare(path), custom_dump(params)) end private def respond_with(response) body = custom_load response.body status = response.status raise_on_error! status, body body end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ruby-lokalise-api-5.0.0 | lib/ruby-lokalise-api/oauth2/request.rb |