Class: CPEE::Properties::PutPositions
- Inherits:
-
Riddl::Implementation
- Object
- Riddl::Implementation
- CPEE::Properties::PutPositions
- Defined in:
- lib/cpee/implementation_properties.rb
Overview
}}}
Instance Method Summary collapse
Instance Method Details
#response ⇒ Object
609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 |
# File 'lib/cpee/implementation_properties.rb', line 609 def response id = @a[0] opts = @a[1] if opts[:statemachine].readonly? id @status = 423 elsif opts[:statemachine].final? id @status = 410 else begin PutPositions::set(id,opts,@p[0].value.read) rescue => e @status = 400 end end nil end |