Class: Faker::Subscription
- Inherits:
-
Base
- Object
- Base
- Faker::Subscription
show all
- Defined in:
- lib/faker/default/subscription.rb
Constant Summary
Constants inherited
from Base
Base::Letters, Base::Numbers, Base::ULetters
Class Method Summary
collapse
Methods inherited from Base
bothify, disable_enforce_available_locales, fetch, fetch_all, flexible, letterify, method_missing, numerify, parse, rand, rand_in_range, regexify, resolve, respond_to_missing?, sample, shuffle, translate, unique, with_locale
Class Method Details
.payment_method ⇒ Object
13
14
15
|
# File 'lib/faker/default/subscription.rb', line 13
def self.payment_method
fetch('subscription.payment_methods')
end
|
.payment_term ⇒ Object
21
22
23
|
# File 'lib/faker/default/subscription.rb', line 21
def self.payment_term
fetch('subscription.payment_terms')
end
|
.plan ⇒ Object
5
6
7
|
# File 'lib/faker/default/subscription.rb', line 5
def self.plan
fetch('subscription.plans')
end
|
.status ⇒ Object
9
10
11
|
# File 'lib/faker/default/subscription.rb', line 9
def self.status
fetch('subscription.statuses')
end
|
.subscription_term ⇒ Object
17
18
19
|
# File 'lib/faker/default/subscription.rb', line 17
def self.subscription_term
fetch('subscription.subscription_terms')
end
|