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

Version Path
taric-2.0.0.pre.alpha.1 lib/taric/operation/endpoint_template.rb
taric-2.0.0.pre.alpha lib/taric/operation/endpoint_template.rb
taric-1.0.0 lib/taric/operation/endpoint_template.rb
taric-1.0.0.pre.beta.0 lib/taric/operation/endpoint_template.rb
taric-1.0.0.pre.alpha.8 lib/taric/operation/endpoint_template.rb
taric-1.0.0.pre.alpha.6 lib/taric/operation/endpoint_template.rb
taric-1.0.0.pre.alpha.4 lib/taric/operation/endpoint_template.rb
taric-1.0.0.pre.alpha.3 lib/taric/operation/endpoint_template.rb
taric-1.0.0.pre.alpha.2 lib/taric/operation/endpoint_template.rb
taric-1.0.0.pre.alpha.1 lib/taric/operation/endpoint_template.rb
taric-1.0.0.pre.alpha lib/taric/operation/endpoint_template.rb
taric-0.5.1 lib/taric/operation/endpoint_template.rb
taric-0.5.0 lib/taric/operation/endpoint_template.rb