Class: FakeFaker::Json
- Inherits:
-
Object
- Object
- FakeFaker::Json
- Defined in:
- lib/fake_faker/json.rb
Class Method Summary collapse
- .add_depth_to_json(json = nil, width = nil, options = nil) ⇒ Object
- .shallow_json(width = nil, options = nil) ⇒ Object
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, = nil) ::Faker::Json.add_depth_to_json(json: json, width: width, 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, = nil) ::Faker::Json.shallow_json(width: width, options: ) end |