Class: OMCMS::Response::Offering

Inherits:
Body
  • Object
show all
Defined in:
lib/omcms/response/offering.rb

Instance Attribute Summary

Attributes inherited from Body

#body

Instance Method Summary collapse

Methods inherited from Body

#initialize, #to_json

Constructor Details

This class inherits a constructor from OMCMS::Response::Body

Instance Method Details

#componentsObject



6
7
8
# File 'lib/omcms/response/offering.rb', line 6

def components
  OMCMS::Component.new(@client, @host, body)
end

#dataObject



10
11
12
# File 'lib/omcms/response/offering.rb', line 10

def data
  OMCMS::OfferingData.new(@client, @host, body)
end