Skip to content

Commit e461ee4

Browse files
committed
Readme.md and Version Update 🚀
1 parent 01f6717 commit e461ee4

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,11 @@ AzureAppConfig::Base.all(name: "key1*") # => [{ etag: "...", id: ".appconfig.fea
5050
AzureAppConfig::Base.all(name: "key1*", label: "prod") # => [{ etag: "...", id: ".appconfig.featureflag/key1", label: "prod", value: { enabled: true, ...}, ...}, { etag: "...", id: ".appconfig.featureflag/key12", label: "prod", value: { enabled: true, ...}, ...}, ...]
5151
AzureAppConfig::Base.all(name: ["key1", "key2"], label: "prod") # => [{ etag: "...", id: ".appconfig.featureflag/key1", label: "prod", value: { enabled: true, ...}, ...}, { etag: "...", id: ".appconfig.featureflag/key2", label: "prod", value: { enabled: true, ...}, ...}, ...]
5252

53+
# Fetches all labels
54+
AzureAppConfig::Base.labels # => [null, "prod", "test"] # null indicates the default (blank) label.
55+
AzureAppConfig::Base.labels(name: "p*") # => ["prod"]
56+
AzureAppConfig::Base.labels(name: ["prod", "test"]) # => ["prod", "test"]
57+
5358

5459
# Check if a key is enabled
5560

lib/azure_app_config.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
require_relative "azure_app_config/base"
44

55
module AzureAppConfig
6-
VERSION = "1.0"
6+
VERSION = "1.1.0"
77

88
class InvalidTypeError < StandardError; end
99
class ExceededLimitError < StandardError; end

0 commit comments

Comments
 (0)