Sha256: c2fef912be27362fdf22a641f79b11c02f8e066d1a378ce6bb9d3162c7a4d62a

Contents?: true

Size: 300 Bytes

Versions: 1

Compression:

Stored size: 300 Bytes

Contents

require 'tester/util/supported_verbs'
require 'rest-client'
require 'tester/definition/methods/api_method'

class ApiLock < ApiMethod
  def call url, params={}, headers={}
    RestClient::Request.execute(method: :lock, url: url, headers: headers)
  end

  def verb
    SupportedVerbs::LOCK
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
api-tester-0.0.5 lib/tester/definition/methods/api_lock.rb