Project

General

Profile

« Previous | Next » 

Revision a7f78b19

Added by Ohad Levy over 12 years ago

  • ID a7f78b1919e885a0bdc8a3b0109264bb24c93b35

fixes #1148 - CRUD on lookup values via the API

View differences:

app/models/puppetclass.rb
end
def as_json(options={})
super({:only => [:name, :id]}.merge(options))
super({:only => [:name, :id], :methods => [:lookup_keys]}.merge(options))
end
def self.search_by_host(key, operator, value)

Also available in: Unified diff