Exception: ActiveForce::RecordNotFound

Inherits:
StandardError
  • Object
show all
Defined in:
lib/active_force/active_query.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message = nil, table_name = nil, conditions = nil) ⇒ RecordNotFound

Returns a new instance of RecordNotFound.



18
19
20
21
22
23
# File 'lib/active_force/active_query.rb', line 18

def initialize(message = nil, table_name = nil, conditions = nil)
  @table_name = table_name
  @conditions = conditions

  super(message)
end

Instance Attribute Details

#conditionsObject (readonly)

Returns the value of attribute conditions.



16
17
18
# File 'lib/active_force/active_query.rb', line 16

def conditions
  @conditions
end

#table_nameObject (readonly)

Returns the value of attribute table_name.



16
17
18
# File 'lib/active_force/active_query.rb', line 16

def table_name
  @table_name
end