diff options
author | Jonathan B <greenbigfrog@gmail.com> | 2020-02-19 19:24:51 +0100 |
---|---|---|
committer | Jonathan B <greenbigfrog@gmail.com> | 2020-02-19 19:24:51 +0100 |
commit | 2f0507f4a35b36a10e869c4fb73f9ac93ddc8064 (patch) | |
tree | 7bfd03c441708049ccf751f67e8be0dd21f30b1b | |
parent | e611e739d7177fbe5ee404e8b77e00bb584721cc (diff) | |
download | twitcr-2f0507f4a35b36a10e869c4fb73f9ac93ddc8064.tar.gz twitcr-2f0507f4a35b36a10e869c4fb73f9ac93ddc8064.zip |
Move client to class
-rw-r--r-- | shard.yml | 4 | ||||
-rw-r--r-- | src/twitcr.cr | 4 | ||||
-rw-r--r-- | src/twitcr/client.cr | 2 |
3 files changed, 4 insertions, 6 deletions
@@ -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 |