Class: OMCMS::Offering

Inherits:
Resource show all
Defined in:
lib/omcms/resource/offering.rb

Instance Method Summary collapse

Methods inherited from Resource

#initialize

Constructor Details

This class inherits a constructor from OMCMS::Resource

Instance Method Details

#allObject



5
6
7
# File 'lib/omcms/resource/offering.rb', line 5

def all
  perform_run self, request_path
end

#get(id) ⇒ Object



9
10
11
# File 'lib/omcms/resource/offering.rb', line 9

def get(id)
  perform_run self, request_path(id)
end