Skip to content

Commit

Permalink
Change structure and name
Browse files Browse the repository at this point in the history
  • Loading branch information
Koray Koska committed May 25, 2017
1 parent a464376 commit 69a1aa1
Show file tree
Hide file tree
Showing 14 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2017 vapor-tools
Copyright (c) 2017 Boilertalk

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 2 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import PackageDescription

let package = Package(
name: "BoilertalkFacebook",
name: "VaporFacebookBot",
targets: [
Target(name: "BoilertalkFacebook")
Target(name: "VaporFacebookBot")
],
dependencies: [
.Package(url: "https://github.com/vapor/vapor.git", majorVersion: 2)
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# VaporJsonApi
# VaporFacebookBot

A server side [jsonapi](http://jsonapi.org/) implementation for [vapor](https://github.com/vapor/vapor) (server side swift).
This library is an abstraction of the facebook bot api callbacks (webhooks).

## 📖 Documentation

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// FacebookAttachment.swift
// BoilertalkFacebook
// VaporFacebookBot
//
// Created by Koray Koska on 24/05/2017.
//
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// FacebookAttachmentPayload.swift
// BoilertalkFacebook
// VaporFacebookBot
//
// Created by Koray Koska on 24/05/2017.
//
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// FacebookCallback.swift
// BoilertalkFacebook
// VaporFacebookBot
//
// Created by Koray Koska on 24/05/2017.
//
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// FacebookCallbackEntry.swift
// BoilertalkFacebook
// VaporFacebookBot
//
// Created by Koray Koska on 24/05/2017.
//
Expand Down Expand Up @@ -36,7 +36,7 @@ public final class FacebookCallbackEntry: JSONConvertible {
try json.set("id", id)
try json.set("time", time)
try json.set("messaging", messaging.jsonArray())

return json
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// FacebookMessage.swift
// BoilertalkFacebook
// VaporFacebookBot
//
// Created by Koray Koska on 24/05/2017.
//
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// FacebookMessageReceived.swift
// BoilertalkFacebook
// VaporFacebookBot
//
// Created by Koray Koska on 24/05/2017.
//
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// FacebookMessaging.swift
// BoilertalkFacebook
// VaporFacebookBot
//
// Created by Koray Koska on 24/05/2017.
//
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// FacebookPostback.swift
// BoilertalkFacebook
// VaporFacebookBot
//
// Created by Koray Koska on 25/05/2017.
//
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// FacebookPostbackReceived.swift
// BoilertalkFacebook
// VaporFacebookBot
//
// Created by Koray Koska on 25/05/2017.
//
Expand Down Expand Up @@ -37,7 +37,7 @@ public final class FacebookPostbackReceived: JSONConvertible {
try json.set("timestamp", timestamp)

try json.set("postback", postback.makeJSON())

return json
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// FacebookReferral.swift
// BoilertalkFacebook
// VaporFacebookBot
//
// Created by Koray Koska on 25/05/2017.
//
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// JSONConvertibleArrayExtensions.swift
// BoilertalkFacebook
// VaporFacebookBot
//
// Created by Koray Koska on 25/05/2017.
//
Expand Down

0 comments on commit 69a1aa1

Please sign in to comment.