Skip to content

Commit

Permalink
Make synopsis more accurate in README
Browse files Browse the repository at this point in the history
  • Loading branch information
maxim committed Aug 12, 2024
1 parent c5871e8 commit 8fe5c7a
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,12 @@ Rails.application.configure do
config.value_from_env_or_cred = env.cred(:key_name)

prefix(:service) do
config.x.service.optional_string = env.cred(:api_key) { 'default' }
config.x.service.required_string = env.cred(:api_secret)

config.x.service.optional_bool = bool.env(:bool_flag) { false }
config.x.service.optional_int = int.env.cred(:number) { nil }
config.x.service.float = float.env.cred(:number)
config.x.service.array = list.env(:comma_list)
config.x.service.optional_value = env.cred(:api_key) { 'default' }
config.x.service.required_value = env.cred(:api_secret)
config.x.service.optional_bool = bool.env(:bool_flag) { false }
config.x.service.optional_int = int.env.cred(:some_int) { nil }
config.x.service.required_float = float.env.cred(:some_float)
config.x.service.required_array = list.env(:comma_list)
end
end
```
Expand Down

0 comments on commit 8fe5c7a

Please sign in to comment.