 
 protocol PaginatedResponseProtocol { }
 
-final class PaginatedResponse<T:Serializable> {
+public final class PaginatedResponse<T:Serializable> {
     var data:[T] = [T]()
     var meta:Meta = Meta()
 }

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
