Sha256: 8b62f553df88304ec242a65ed80b5598d4aa2bb31bfb5eb69e48931eaf862093
Contents?: true
Size: 489 Bytes
Versions: 18
Compression:
Stored size: 489 Bytes
Contents
module Octobat class EmailsSetting < 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