Skip to content

Commit

Permalink
Adds endpoint.template type.
Browse files Browse the repository at this point in the history
Bump to 1.3.0
  • Loading branch information
ajtucker committed Nov 11, 2024
1 parent b4e80d9 commit 33387c2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
sapi-client-ruby (1.2.0)
sapi-client-ruby (1.3.0)
faraday_middleware (~> 1.0.0)
i18n (~> 1.5)

Expand Down
3 changes: 2 additions & 1 deletion lib/sapi_client/sapi_endpoint.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@ class SapiEndpoint # rubocop:disable Metrics/ClassLength
ENDPOINT_TYPE_ITEM = 'endpoint.item'
ENDPOINT_TYPE_FORWARD = 'endpoint.forward'
ENDPOINT_TYPE_HIERARCHY = 'endpoint.hierarchy'
ENDPOINT_TYPE_TEMPLATE = 'endpoint.template'
ENDPOINT_TYPES = [
DEP_ENDPOINT_TYPE_LIST, DEP_ENDPOINT_TYPE_ITEM, DEP_ENDPOINT_TYPE_FORWARD,
ENDPOINT_TYPE_LIST, ENDPOINT_TYPE_ITEM, ENDPOINT_TYPE_FORWARD, ENDPOINT_TYPE_HIERARCHY
ENDPOINT_TYPE_LIST, ENDPOINT_TYPE_ITEM, ENDPOINT_TYPE_FORWARD, ENDPOINT_TYPE_HIERARCHY, ENDPOINT_TYPE_TEMPLATE
].freeze

def initialize(base_url, specification, view_registry: ViewRegistry)
Expand Down
2 changes: 1 addition & 1 deletion lib/sapi_client/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

module SapiClient
MAJOR = 1
MINOR = 2
MINOR = 3
FIX = 0
VERSION = "#{MAJOR}.#{MINOR}.#{FIX}"
end

0 comments on commit 33387c2

Please sign in to comment.