class Taric::Operation::EndpointTemplate

Attributes

body[RW]
headers[RW]
method[RW]
template_url[RW]

Public Class Methods

new(template_url:, method: :get, body: nil, headers: {}) click to toggle source
# File lib/taric/operation/endpoint_template.rb, line 7
def initialize(template_url:, method: :get, body: nil, headers: {})
  @template_url = Addressable::Template.new(template_url)
  @method = method
  @body = body
  @headers = headers
end