From 2f0507f4a35b36a10e869c4fb73f9ac93ddc8064 Mon Sep 17 00:00:00 2001 From: Jonathan B Date: Wed, 19 Feb 2020 19:24:51 +0100 Subject: Move client to class --- shard.yml | 4 ++-- src/twitcr.cr | 4 +--- src/twitcr/client.cr | 2 +- 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. -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 -- cgit v1.2.3