Sha256: a2a36a61dd121ac9cac3069d8ab278ca0e348be7533ef8d008af621e1d3b3e53
Contents?: true
Size: 497 Bytes
Versions: 18
Compression:
Stored size: 497 Bytes
Contents
module Octobat class DocumentEmailTemplate < APIResource include Octobat::APIOperations::Create include Octobat::APIOperations::Update def self.default(params = {}, opts={}) api_key, headers = Util.parse_opts(opts) api_key ||= @api_key opts[:api_key] = api_key instance = self.new(nil, opts) response, api_key = Octobat.request(:get, url + '/default', api_key, params) instance.refresh_from(response, api_key) instance end end end
Version data entries
18 entries across 18 versions & 1 rubygems