Module: PaidUp::Unlimited

Defined in:
app/models/paid_up/unlimited.rb

Class Method Summary collapse

Class Method Details

.initializeObject



2
3
4
# File 'app/models/paid_up/unlimited.rb', line 2

def self.initialize
  999999999
end

.to_i(format = :default) ⇒ Object



5
6
7
8
9
10
11
# File 'app/models/paid_up/unlimited.rb', line 5

def self.to_i(format = :default)
  if format == :db
    -1
  else
    999999999
  end
end

.to_sObject



12
13
14
# File 'app/models/paid_up/unlimited.rb', line 12

def self.to_s
  :unlimited.l
end