Sha256: 786bd84a00f93da6b276636e20826adcac3aa9c56162905e5b0a93b35a752a8d
Contents?: true
Size: 271 Bytes
Versions: 1
Compression:
Stored size: 271 Bytes
Contents
module OMCMS class Offering < Resource def all perform_run self, request_path end def get(id) perform_run self, request_path(id) end private def request_path(key = nil) ["offerings", key].compact.join("/") end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
omcms-ruby-client-1.2.0 | lib/omcms/resource/offering.rb |