Sha256: 92a4e17d912b8aa894c34e57d16b9c4778a2ca892d207a193fd99ed477a86681
Contents?: true
Size: 684 Bytes
Versions: 7
Compression:
Stored size: 684 Bytes
Contents
class RestModel module Configuration extend self attr_accessor :host DefaultHandler = proc {|keys| keys} def convert_input_keys @convert_input_keys || DefaultHandler end def convert_input_keys=(converter) @convert_input_keys = converter end def true_value @true || true end def true_value=(value) @true = value end def false_value @false || false end def false_value=(value) @false = value end def date_format @date_format end def date_format=(format) @date_format = format end def configure yield self if block_given? end end end
Version data entries
7 entries across 7 versions & 1 rubygems