Class: CommandTower::Clients::EndpointInput

Inherits:
Object
  • Object
show all
Includes:
ActiveModel::Attributes, ActiveModel::Model
Defined in:
app/services/command_tower/clients/endpoint_input.rb

Overview

Validation-capable endpoint argument objects. Construct once in EndpointBase; do not mutate after construction (convention). Untyped attributes only — typing/validation policy deferred.

Instance Method Summary collapse

Instance Method Details

#==(other) ⇒ Object Also known as: eql?



12
13
14
# File 'app/services/command_tower/clients/endpoint_input.rb', line 12

def ==(other)
  other.instance_of?(self.class) && attributes == other.attributes
end