Exception: Rentlinx::IncompatibleGroupOfObjectsForPost
- Inherits:
-
RentlinxError
- Object
- StandardError
- RentlinxError
- Rentlinx::IncompatibleGroupOfObjectsForPost
- 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
-
#initialize(property) ⇒ IncompatibleGroupOfObjectsForPost
constructor
A new instance of IncompatibleGroupOfObjectsForPost.
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 |