class Nurego::Offering
Public Class Methods
current(params = {}, api_key = nil)
click to toggle source
# File lib/nurego/offering.rb, line 9 def self.current(params = {}, api_key = nil) response, api_key = Nurego.request(:get, self.url, api_key, params) Util.convert_to_nurego_object(response, api_key) end
retrieve(id, api_key = nil)
click to toggle source
# File lib/nurego/offering.rb, line 5 def self.retrieve(id, api_key = nil) raise NotImplementedError.new("Offering cannot be retrieved with ID. Retrieve an offering using Offering.current") end