summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJonathan B <greenbigfrog@gmail.com>2020-02-19 19:24:51 +0100
committerJonathan B <greenbigfrog@gmail.com>2020-02-19 19:24:51 +0100
commit2f0507f4a35b36a10e869c4fb73f9ac93ddc8064 (patch)
tree7bfd03c441708049ccf751f67e8be0dd21f30b1b /src
parente611e739d7177fbe5ee404e8b77e00bb584721cc (diff)
downloadtwitcr-2f0507f4a35b36a10e869c4fb73f9ac93ddc8064.tar.gz
twitcr-2f0507f4a35b36a10e869c4fb73f9ac93ddc8064.zip
Move client to class
Diffstat (limited to 'src')
-rw-r--r--src/twitcr.cr4
-rw-r--r--src/twitcr/client.cr2
2 files changed, 2 insertions, 4 deletions
diff --git a/src/twitcr.cr b/src/twitcr.cr
index 24af4d4..0d63180 100644
--- a/src/twitcr.cr
+++ b/src/twitcr.cr
@@ -1,7 +1,5 @@
require "./twitcr/**"
module Twitcr
- VERSION = "0.1.0"
-
- # TODO: Put your code here
+ VERSION = "0.2.0"
end
diff --git a/src/twitcr/client.cr b/src/twitcr/client.cr
index 8502b90..74b2a80 100644
--- a/src/twitcr/client.cr
+++ b/src/twitcr/client.cr
@@ -1,7 +1,7 @@
require "./rest"
require "./mappings/*"
-module Twitcr::Client
+class Twitcr::Client
include REST
getter token : String