Sha256: 5cfc8bcbe659db609da08792e165439b65396480c800c128606afe8b719a63b8
Contents?: true
Size: 306 Bytes
Versions: 1
Compression:
Stored size: 306 Bytes
Contents
require 'tester/util/supported_verbs' require 'rest-client' require 'tester/definition/methods/api_method' class ApiUnlock < ApiMethod def call url, params={}, headers={} RestClient::Request.execute(method: :unlock, url: url, headers: headers) end def verb SupportedVerbs::UNLOCK end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
api-tester-0.0.5 | lib/tester/definition/methods/api_unlock.rb |