Method: Reptile::Status.status_codes

Defined in:
lib/reptile/status.rb

.status_codesObject

A hash containing the names of the constants that represent status codes, and the strings they represent



68
69
70
71
72
73
74
# File 'lib/reptile/status.rb', line 68

def self.status_codes
  status_codes = {}
  self.constants.each do |const|
    status_codes[const] = const_get(const)
  end
  status_codes
end