summaryrefslogtreecommitdiff
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
parente611e739d7177fbe5ee404e8b77e00bb584721cc (diff)
downloadtwitcr-2f0507f4a35b36a10e869c4fb73f9ac93ddc8064.tar.gz
twitcr-2f0507f4a35b36a10e869c4fb73f9ac93ddc8064.zip
Move client to class
-rw-r--r--shard.yml4
-rw-r--r--src/twitcr.cr4
-rw-r--r--src/twitcr/client.cr2
3 files changed, 4 insertions, 6 deletions
diff --git a/shard.yml b/shard.yml
index 906542c..7de99df 100644
--- a/shard.yml
+++ b/shard.yml
@@ -1,9 +1,9 @@
name: twitcr
-version: 0.1.0
+version: 0.2.0
authors:
- Jonathan B. <greenbigfrog@gmail.com>
-crystal: 0.30.1
+crystal: 0.33.0
license: MIT
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