module Delighted::Operations::Retrieve::Singleton::ClassMethods

Public Instance Methods

retrieve(opts = {}, client = Delighted.shared_client) click to toggle source
# 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