Method: BOSSMan::REST.validate_parameters
- Defined in:
- lib/bossman/rest.rb
.validate_parameters(options) ⇒ Object
30 31 32 33 34 35 36 37 38 |
# File 'lib/bossman/rest.rb', line 30 def self.validate_parameters() unless BOSSMan.application_id raise MissingConfiguration, "Application ID must be set prior to making a service call." end unless [:count] > 0 raise InvalidParameter, "Invalid count. Count must be > 0." end end |