Sha256: 421e4c41d0cb1e682dc6788cf65619762e983eabc36fd65850ce70196a3925b7
Contents?: true
Size: 653 Bytes
Versions: 57
Compression:
Stored size: 653 Bytes
Contents
include ApiResource Mocks.define do endpoint("/error_resources/new") do get(HashDealer.roll(:new_error_resource)) end endpoint("/error_resources") do post(HashDealer.roll(:error_resource_errors), :params => {:error_resource => HashDealer.roll(:error_resource).matcher}, :status_code => 422) end endpoint("/error_full_message_resources/new") do get(HashDealer.roll(:new_error_resource)) end endpoint("/error_full_message_resources") do post(HashDealer.roll(:error_resource_full_message_errors), :params => {:error_full_message_resource => HashDealer.roll(:error_resource).matcher}, :status_code => 422) end end
Version data entries
57 entries across 57 versions & 2 rubygems