Module: ActiveRemote::Typecasting

Extended by:
ActiveSupport::Concern
Included in:
Base
Defined in:
lib/active_remote/typecasting.rb,
lib/active_remote/typecasting/boolean.rb,
lib/active_remote/typecasting/date_typecaster.rb,
lib/active_remote/typecasting/float_typecaster.rb,
lib/active_remote/typecasting/object_typecaster.rb,
lib/active_remote/typecasting/string_typecaster.rb,
lib/active_remote/typecasting/boolean_typecaster.rb,
lib/active_remote/typecasting/integer_typecaster.rb,
lib/active_remote/typecasting/date_time_typecaster.rb,
lib/active_remote/typecasting/big_decimal_typecaster.rb

Defined Under Namespace

Modules: ClassMethods Classes: BigDecimalTypecaster, Boolean, BooleanTypecaster, DateTimeTypecaster, DateTypecaster, FloatTypecaster, IntegerTypecaster, ObjectTypecaster, StringTypecaster

Constant Summary collapse

TYPECASTER_MAP =
{
  BigDecimal => ::ActiveRemote::Typecasting::BigDecimalTypecaster,
  Boolean => ::ActiveRemote::Typecasting::BooleanTypecaster,
  Date => ::ActiveRemote::Typecasting::DateTypecaster,
  DateTime => ::ActiveRemote::Typecasting::DateTimeTypecaster,
  Float => ::ActiveRemote::Typecasting::FloatTypecaster,
  Integer => ::ActiveRemote::Typecasting::IntegerTypecaster,
  Object => ::ActiveRemote::Typecasting::ObjectTypecaster,
  String => ::ActiveRemote::Typecasting::StringTypecaster
}.freeze