Class: LedgerSync::Type::Integer

Inherits:
ActiveModel::Type::Integer
  • Object
show all
Includes:
ValueMixin
Defined in:
lib/ledger_sync/type/integer.rb

Overview

:nodoc:

Instance Method Summary collapse

Methods included from ValueMixin

#assert_valid, #cast, included, #valid?

Instance Method Details

#typeObject



10
11
12
# File 'lib/ledger_sync/type/integer.rb', line 10

def type
  :integer
end

#valid_classesObject



14
15
16
# File 'lib/ledger_sync/type/integer.rb', line 14

def valid_classes
  [::Integer]
end