class Sentry::Interface

def to_hash

Returns:
  • (Hash) -
def to_hash
  Hash[instance_variables.map { |name| [name[1..-1].to_sym, instance_variable_get(name)] }]
end