Sha256: 1403a68167a81ff7e8585379568bfc70581855ab4c8b641fbed5fb5fe523a3f1
Contents?: true
Size: 390 Bytes
Versions: 13
Compression:
Stored size: 390 Bytes
Contents
require 'addressable/template' module Taric module Operation class EndpointTemplate attr_accessor :template_url, :method, :body, :headers def initialize(template_url:, method: :get, body: nil, headers: {}) @template_url = Addressable::Template.new(template_url) @method = method @body = body @headers = headers end end end end
Version data entries
13 entries across 13 versions & 1 rubygems