Class: Apicraft::Mocker::Boolean

Inherits:
Base
  • Object
show all
Defined in:
lib/apicraft/mocker/boolean.rb

Overview

Generate fake boolean values

Instance Attribute Summary

Attributes inherited from Base

#schema

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Apicraft::Mocker::Base

Instance Method Details

#mockObject



7
8
9
# File 'lib/apicraft/mocker/boolean.rb', line 7

def mock
  Faker::Boolean.boolean
end