Skip to content

Commit

Permalink
Merge pull request #5 from atelier-saulx/service
Browse files Browse the repository at this point in the history
Expose service function
  • Loading branch information
MinneSchalekamp authored Jun 6, 2024
2 parents aae3243 + 8b265dd commit 3fd8467
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions Sources/BasedClient/Based+Service.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
//
// Based+Service.swift
//
//
// Created by Alexander van der Werff on 18/01/2022.
//

import Foundation

extension Based {

public func service(
html: Bool
) -> String {
return Current.basedClient.service(
cluster: configuration.cluster,
org: configuration.org,
project: configuration.project,
env: configuration.env,
name: configuration.name,
key: configuration.key,
optionalKey: configuration.optionalKey,
html: html
)
}

}

0 comments on commit 3fd8467

Please sign in to comment.