Class: Fog::Oracle::Model

Inherits:
Model
  • Object
show all
Defined in:
lib/fog/oracle/models/model.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#responseObject

Returns the value of attribute response.



7
8
9
# File 'lib/fog/oracle/models/model.rb', line 7

def response
  @response
end

Class Method Details

.has_many(name, collection_name, options = {}) ⇒ Object



13
14
15
# File 'lib/fog/oracle/models/model.rb', line 13

def self.has_many(name, collection_name, options = {})
  Fog::Associations::OracleManyModels.new(self, name, collection_name, options)
end

.has_many_identities(name, collection_name, options = {}) ⇒ Object



21
22
23
# File 'lib/fog/oracle/models/model.rb', line 21

def self.has_many_identities(name, collection_name, options = {})
  Fog::Associations::OracleManyIdentities.new(self, name, collection_name, options)
end

.has_one(name, collection_name, options = {}) ⇒ Object



9
10
11
# File 'lib/fog/oracle/models/model.rb', line 9

def self.has_one(name, collection_name, options = {})
  Fog::Associations::OracleOneModel.new(self, name, collection_name, options)
end

.has_one_identity(name, collection_name, options = {}) ⇒ Object



17
18
19
# File 'lib/fog/oracle/models/model.rb', line 17

def self.has_one_identity(name, collection_name, options = {})
  Fog::Associations::OracleOneIdentity.new(self, name, collection_name, options)
end