Skip to content

Commit

Permalink
Committing Public classes and variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Cartisim committed Jan 1, 2020
1 parent 141fc1d commit 40c9b51
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Sources/SwiftTaxable/SwiftTaxable.swift
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import Foundation

class SwiftTaxable: NSObject {
public final class SwiftTaxable: NSObject {

static let shared = SwiftTaxable()
public static let shared = SwiftTaxable()

func priceTag(productCategoryNumber: Int) -> Float {
public func priceTag(productCategoryNumber: Int) -> Float {
var coursePrice = 0.00
switch productCategoryNumber {
case 1:
Expand Down Expand Up @@ -67,7 +67,7 @@ class SwiftTaxable: NSObject {
return Float(coursePrice)
}

func taxable(state: String, city: String) -> Float {
public func taxable(state: String, city: String) -> Float {
let cityName = Constants.shared

if state == "WA" {
Expand Down

0 comments on commit 40c9b51

Please sign in to comment.