Class: Graphiti::Errors::NullRelation
Instance Attribute Summary collapse
-
#errors ⇒ Object
Returns the value of attribute errors.
-
#id ⇒ Object
Returns the value of attribute id.
-
#pointer ⇒ Object
Returns the value of attribute pointer.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(id, pointer) ⇒ NullRelation
constructor
A new instance of NullRelation.
Constructor Details
#initialize(id, pointer) ⇒ NullRelation
Returns a new instance of NullRelation.
19 20 21 22 23 |
# File 'lib/graphiti/errors.rb', line 19 def initialize(id, pointer) @id = id @pointer = pointer @errors = Graphiti::Util::SimpleErrors.new(self) end |
Instance Attribute Details
#errors ⇒ Object
Returns the value of attribute errors.
17 18 19 |
# File 'lib/graphiti/errors.rb', line 17 def errors @errors end |
#id ⇒ Object
Returns the value of attribute id.
17 18 19 |
# File 'lib/graphiti/errors.rb', line 17 def id @id end |
#pointer ⇒ Object
Returns the value of attribute pointer.
17 18 19 |
# File 'lib/graphiti/errors.rb', line 17 def pointer @pointer end |
Class Method Details
.human_attribute_name(attr, options = {}) ⇒ Object
25 26 27 |
# File 'lib/graphiti/errors.rb', line 25 def self.human_attribute_name(attr, = {}) attr end |