Sha256: afd2c8c0e0934858bb9d3d37e688a09d6dee83f9dbaf4045cc8131df222f993a
Contents?: true
Size: 498 Bytes
Versions: 9
Compression:
Stored size: 498 Bytes
Contents
module Octobat class DocumentLanguage < 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, opts) instance.refresh_from(response, api_key) instance end end end
Version data entries
9 entries across 9 versions & 1 rubygems