Class: FakeFaker::Json

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

Class Method Summary collapse

Class Method Details

.add_depth_to_json(json = nil, width = nil, options = nil) ⇒ Object



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

def add_depth_to_json(json = nil, width = nil, options = nil)
  ::Faker::Json.add_depth_to_json(json: json, width: width, options: options)
end

.shallow_json(width = nil, options = nil) ⇒ Object



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

def shallow_json(width = nil, options = nil)
  ::Faker::Json.shallow_json(width: width, options: options)
end