lib/kuapir/api/staff_api.rb in kuapir-0.1.2 vs lib/kuapir/api/staff_api.rb in kuapir-0.1.3

- old
+ new

@@ -28,12 +28,12 @@ # verify the required parameter 'film_id' is set if @api_client.config.client_side_validation && film_id.nil? raise ArgumentError, "Missing the required parameter 'film_id' when calling StaffApi.api_v1_staff_get" end - if @api_client.config.client_side_validation && film_id > 5000000 + if @api_client.config.client_side_validation && film_id > 500_000_000 raise ArgumentError, - 'invalid value for "film_id" when calling StaffApi.api_v1_staff_get, must be smaller than or equal to 5000000.' + 'invalid value for "film_id" when calling StaffApi.api_v1_staff_get, must be smaller than or equal to 500_000_000.' end if @api_client.config.client_side_validation && film_id < 1 raise ArgumentError, 'invalid value for "film_id" when calling StaffApi.api_v1_staff_get, must be greater than or equal to 1.'