Skip to content

Commit

Permalink
Merge pull request #28 from bilaalrashid/bilaal/language
Browse files Browse the repository at this point in the history
Fix visibility
  • Loading branch information
bilaalrashid authored Jul 28, 2024
2 parents 9df6792 + 2bff9af commit 4cc1e22
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Sources/BbcNews/Models/Request/Language.swift
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public enum Language: String, Codable, Equatable, Hashable, CaseIterable {
case russian

/// The user facing name of the language.
var displayName: String {
public var displayName: String {
switch self {
case .arabic:
return "Arabic"
Expand All @@ -46,7 +46,7 @@ public enum Language: String, Codable, Equatable, Hashable, CaseIterable {
}

/// The value of the `clientName` URL parameter to use when calling the API for this language.
var clientName: String {
public var clientName: String {
switch self {
case .arabic:
return "Arabic"
Expand All @@ -64,7 +64,7 @@ public enum Language: String, Codable, Equatable, Hashable, CaseIterable {
}

/// The value of the `service` URL parameter to use when calling the API for this language.
var service: String {
public var service: String {
switch self {
case .arabic:
return "arabic"
Expand Down

0 comments on commit 4cc1e22

Please sign in to comment.