class Faker::Device

Public Class Methods

build_number() click to toggle source
# File lib/faker/device.rb, line 4
def build_number
  Faker::Number.between(1, 500)
end
manufacturer() click to toggle source
# File lib/faker/device.rb, line 8
def manufacturer
  fetch('device.manufacturer')
end
model_name() click to toggle source
# File lib/faker/device.rb, line 12
def model_name
  fetch('device.model_name')
end
platform() click to toggle source
# File lib/faker/device.rb, line 16
def platform
  fetch('device.platform')
end
serial() click to toggle source
# File lib/faker/device.rb, line 20
def serial
  fetch('device.serial')
end
version() click to toggle source
# File lib/faker/device.rb, line 24
def version
  Faker::Number.between(1, 1000)
end