Sha256: 1b847f4bf6cc94c67579ea89a034f8bc7c0760c36d0795bf3a640c355b2509a2
Contents?: true
Size: 551 Bytes
Versions: 16
Compression:
Stored size: 551 Bytes
Contents
module OurKudos class ResponseCodes CODES_MAP = { :I1 => 'User created', :I2 => 'User updated', :E1 => 'No such api key', :E2 => "Api key expired", :E3 => 'This app / site is blocked', :E4 => "Cannot save this user", :E5 => 'Server error', :E6 => 'Unable to update user', :E7 => "Unable to process request, server responded with error", :E8 => "No such record", :E9 => "No such action / resource" } def self.[](code) CODES_MAP[code] end end end
Version data entries
16 entries across 16 versions & 1 rubygems