Exception: Rentlinx::IncompatibleGroupOfObjectsForPost

Inherits:
RentlinxError
  • Object
show all
Defined in:
lib/rentlinx/errors.rb

Overview

Thrown when a group of objects is passed to a batch endpoint but cannot be posted because they belong to different properties

Instance Method Summary collapse

Constructor Details

#initialize(property) ⇒ IncompatibleGroupOfObjectsForPost

Returns a new instance of IncompatibleGroupOfObjectsForPost.



38
39
40
# File 'lib/rentlinx/errors.rb', line 38

def initialize(property)
  super("These objects cannot be grouped together ('#{property}' differ).")
end