Skip to content

Commit

Permalink
Merge pull request #30 from alphagov/tweak-docs
Browse files Browse the repository at this point in the history
Update documentation for creating random examples
  • Loading branch information
tijmenb committed Mar 10, 2017
2 parents 97da7b6 + 9eb2b54 commit 5585e97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/govuk_schemas/random_example.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ class RandomExample
#
# For example:
#
# schema = GovukSchemas::Schema.find("detailed_guide", schema_type: "frontend")
# GovukSchemas::RandomExample.new(schema).payload
# schema = GovukSchemas::Schema.find(frontend_schema: "detailed_guide")
# GovukSchemas::RandomExample.new(schema: schema).payload
#
# @param [Hash] schema A JSON schema.
# @return [GovukSchemas::RandomExample]
Expand Down

0 comments on commit 5585e97

Please sign in to comment.