Method: Apimaster::RelationExistsError#initialize
- Defined in:
- lib/apimaster/error.rb
#initialize(resource = nil, field = nil) ⇒ RelationExistsError
Returns a new instance of RelationExistsError.
50 51 52 |
# File 'lib/apimaster/error.rb', line 50 def initialize(resource = nil, field = nil) super("Our results indicate a positive relationship exists.", 409, :relation_exists, resource, field) end |