Module: Delighted::Operations::Retrieve::Singleton::ClassMethods

Defined in:
lib/delighted/operations/retrieve.rb

Instance Method Summary collapse

Instance Method Details

#retrieve(opts = {}, client = Delighted.shared_client) ⇒ Object



28
29
30
31
32
# File 'lib/delighted/operations/retrieve.rb', line 28

def retrieve(opts = {}, client = Delighted.shared_client)
  opts = Utils.serialize_values(opts)
  json = client.get_json(path, opts)
  new(json)
end