Class: Faker::Subscription

Inherits:
Base
  • Object
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_methodObject


13
14
15
# File 'lib/faker/default/subscription.rb', line 13

def self.payment_method
  fetch('subscription.payment_methods')
end

.payment_termObject


21
22
23
# File 'lib/faker/default/subscription.rb', line 21

def self.payment_term
  fetch('subscription.payment_terms')
end

.planObject


5
6
7
# File 'lib/faker/default/subscription.rb', line 5

def self.plan
  fetch('subscription.plans')
end

.statusObject


9
10
11
# File 'lib/faker/default/subscription.rb', line 9

def self.status
  fetch('subscription.statuses')
end

.subscription_termObject


17
18
19
# File 'lib/faker/default/subscription.rb', line 17

def self.subscription_term
  fetch('subscription.subscription_terms')
end