Sha256: fb99d7457bb4616e3bd4378b1c4d8151df40e57b97456d4b8d34a42a73188e78
Contents?: true
Size: 492 Bytes
Versions: 18
Compression:
Stored size: 492 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) instance.refresh_from(response, api_key) instance end end end
Version data entries
18 entries across 18 versions & 1 rubygems