Sha256: f92dab1ee8d7a9320cb2583c62076b38c479158f45dbac4b375d32f119b0f213
Contents?: true
Size: 665 Bytes
Versions: 9
Compression:
Stored size: 665 Bytes
Contents
require "digicert/base" module Digicert class ContainerTemplate < Digicert::Base include Digicert::Actions::All include Digicert::Actions::Fetch def self.all(container_id) new(container_id: container_id).all end def self.fetch(template_id:, container_id:) new(resource_id: template_id, container_id: container_id).fetch end private attr_reader :container_id def extract_local_attribute_ids @container_id = attributes.delete(:container_id) end def resources_key "container_templates" end def resource_path ["container", container_id, "template"].join("/") end end end
Version data entries
9 entries across 9 versions & 1 rubygems