Class: FakeFaker::Invoice

Inherits:
Object
  • Object
show all
Defined in:
lib/fake_faker/invoice.rb

Class Method Summary collapse

Class Method Details

.amount_between(from = nil, to = nil) ⇒ Object



4
5
6
# File 'lib/fake_faker/invoice.rb', line 4

def amount_between(from = nil, to = nil)
  ::Faker::Invoice.amount_between(from: from, to: to)
end

.creditor_reference(ref = nil) ⇒ Object



8
9
10
# File 'lib/fake_faker/invoice.rb', line 8

def creditor_reference(ref = nil)
  ::Faker::Invoice.creditor_reference(ref: ref)
end

.reference(ref = nil) ⇒ Object



12
13
14
# File 'lib/fake_faker/invoice.rb', line 12

def reference(ref = nil)
  ::Faker::Invoice.reference(ref: ref)
end