Sha256: 5409311f99a8eddc247dff17b9eea8f3071dbd6ef4a29a6c153b7768d67044c8
Contents?: true
Size: 362 Bytes
Versions: 11
Compression:
Stored size: 362 Bytes
Contents
module Terminal class Request attr_accessor :client, :request_method, :path, :options def initialize(client, request_method, path, options = {}) @client = client @request_method = request_method @path = path @options = options end def perform @client.send(@request_method, @path, @options).body end end end
Version data entries
11 entries across 11 versions & 1 rubygems