Class: Faker::Cannabis

Inherits:
Base
  • Object
show all
Defined in:
lib/faker/cannabis.rb

Constant Summary

Constants inherited from Base

Base::Letters, Base::Numbers, Base::ULetters

Class Method Summary collapse

Methods inherited from Base

bothify, fetch, fetch_all, flexible, letterify, method_missing, numerify, parse, rand, rand_in_range, regexify, respond_to_missing?, sample, shuffle, translate, unique, with_locale

Class Method Details

.buzzwordObject



37
38
39
# File 'lib/faker/cannabis.rb', line 37

def self.buzzword
  fetch('cannabis.buzzwords')
end

.cannabinoidObject



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

def self.cannabinoid
  fetch('cannabis.cannabinoids')
end

.cannabinoid_abbreviationObject



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

def self.cannabinoid_abbreviation
  fetch('cannabis.cannabinoid_abbreviations')
end

.categoryObject



29
30
31
# File 'lib/faker/cannabis.rb', line 29

def self.category
  fetch('cannabis.categories')
end

.health_benefitObject



25
26
27
# File 'lib/faker/cannabis.rb', line 25

def self.health_benefit
  fetch('cannabis.health_benefits')
end

.medical_useObject



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

def self.medical_use
  fetch('cannabis.medical_uses')
end

.strainObject



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

def self.strain
  fetch('cannabis.strains')
end

.terpeneObject



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

def self.terpene
  fetch('cannabis.terpenes')
end

.typeObject



33
34
35
# File 'lib/faker/cannabis.rb', line 33

def self.type
  fetch('cannabis.types')
end