//
//  SpecialOffer.swift
//  kt
//
//  Created by Assylkhan Rakhatov on 01.06.16.
//  Copyright © 2016 Alexandr Zalutskiy. All rights reserved.
//

import Foundation

class SpecialOffer {
  var text: String?
  var logo: String?
  var background: String?
  var link: String?
  
  init(json: JSON) {
    self.text = json["text"].string
    self.logo = json["logo"].string
    self.background = json["background"].string
    self.link = json["link"].string
  }
  
//  text":"И тут другой текст",
//  "logo":"http://epkt.loc/media/upload/1/2016/05/28/2ba9a1e2bcefb5ecbf25a5f62d215cea.png",
//  "background":"http://epkt.loc/media/upload/1/2016/05/28/10921b4336a16119cbe0099da991b9fb.jpg",
//  "link":"#"
}
