Sha256: 91766f8381288064fcbf4fbcee3e419c1e1ff63ee696c50824cdf3f4ef3b8c39

Contents?: true

Size: 261 Bytes

Versions: 10

Compression:

Stored size: 261 Bytes

Contents

import Foundation
import SwiftyJSON

struct HealthHandlerResponse {
  let statusMessage:String

  init(statusMessage:String) {
    self.statusMessage = statusMessage
  }

  func serialize() -> JSONDictionary {
    return ["status_message": statusMessage]
  }
}

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
minke-generator-swift-0.5 lib/generators/swift/scaffold/src/Sources/<%= application_name %>/models/HealthHandlerResponse.swift
minke-generator-swift-0.4 lib/generators/swift/scaffold/src/Sources/<%= application_name %>/models/HealthHandlerResponse.swift
minke-generator-swift-0.2.2 lib/generators/swift/scaffold/src/Sources/<%= application_name %>/models/HealthHandlerResponse.swift
minke-generator-swift-0.2.1 lib/generators/swift/scaffold/src/Sources/<%= application_name %>/models/HealthHandlerResponse.swift
minke-generator-swift-0.2.0 lib/generators/swift/scaffold/src/Sources/<%= application_name %>/models/HealthHandlerResponse.swift
minke-generator-swift-0.1.8 lib/generators/swift/scaffold/src/Sources/<%= application_name %>/models/HealthHandlerResponse.swift
minke-generator-swift-0.1.7 lib/generators/swift/scaffold/src/Sources/<%= application_name %>/models/HealthHandlerResponse.swift
minke-generator-swift-0.1.6 lib/generators/swift/scaffold/src/Sources/<%= application_name %>/models/HealthHandlerResponse.swift
minke-generator-swift-0.1.4 lib/generators/swift/scaffold/src/<%= application_name %>/models/HealthHandlerResponse.swift
minke-generator-swift-0.1.0 lib/generators/swift/scaffold/src/<%= application_name %>/models/HealthHandlerResponse.swift