 }
 
 extension Pagination: Serializable {
-    init(dictionary: NSDictionary?) {
+    public init(dictionary: NSDictionary?) {
         total       <== (self, dictionary, "total")
         count       <== (self, dictionary, "count")
         perPage     <== (self, dictionary, "per_page")

extension PaginatedResponse: PaginatedResponseProtocol {}

extension PaginatedResponse: Serializable {
    convenience init(dictionary: NSDictionary?) {
        self.init()
        data <== (self, dictionary, "data")
        meta <== (self, dictionary, "meta")
    }
    
    func encodableRepresentation() -> NSCoding {
        let dict = NSMutableDictionary()
        (dict, "data") <== data
        (dict, "meta") <== meta

    }
}

public struct Pagination {
    var total = 0
    var count = 0
    var perPage = 0
