teachable-jg 0.0.8 → 0.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 29d8d3f15328104db4000097d9bfebff00600613
4
- data.tar.gz: b99aed86e82f6bd9d4e489ca020f1c5507f79c63
3
+ metadata.gz: 6ea3895eae3ecfea3d1a7796ac245c87d56067a9
4
+ data.tar.gz: df56a3ade5182a7139af2e2d0393d901c34550a5
5
5
  SHA512:
6
- metadata.gz: a11bbf225aac8d6071058eb598d715e0bcb5b16cae03d32512f5620cd637ce12fc8a011881c655cede573528b5452121e12e1e2afa40fe2724b3a69b601df0de
7
- data.tar.gz: 42edca275df3d2f7bf5f2b51662d65488731b82e9cc3fb25ef6f49f4463ead0f55bc816c2a2bbe84b3faea858cb8e7cc840c856c4fa1a6b0d7ddaaf1d2532867
6
+ metadata.gz: 8806c2bd06024a61cd9c770ffa50b230302e95372531a9c4b019e76c422fbaf3e9a48c259a74e627dbf4d06f833f0bdcc80ef98b1ef089a0bd3134f8d4bf7c83
7
+ data.tar.gz: 73daff30bf48721cf123da2546d0d6827f83740e46973ddf3bf372bbea68c3e78b50a3a4eea46e6c3e7d41c3b56f151d3e6c7b41ece3025dce30552350445d07
data/README.md CHANGED
@@ -20,15 +20,25 @@ Or install it yourself as:
20
20
 
21
21
  To install using Bundler grab the latest stable version:
22
22
 
23
- gem 'teachable-jg', '~> 0.0.1'
23
+ gem 'teachable-jg', '~> 0.0.8'
24
24
 
25
25
  ## Usage
26
26
 
27
- TODO: Write usage instructions here
27
+ Use this gem to as a wrapper to easily register and authorize users, create, pull, and delete orders via the Teachable Mock API.
28
+
29
+ Some handy methods at your disposal one you're authorized:
30
+
31
+ client = Teachable::Jg::Client.new(email: , password: )
32
+
33
+ if client.authorized is true, you then have access methods such as
34
+
35
+ 'user_info,' 'create_order,' 'delete_orders,' 'orders'
36
+
37
+ You can also register a new user easily by passing "registration: true" along with email and password when initializing a client.
28
38
 
29
39
  ## Development
30
40
 
31
- After checking out the repo, run `bin/setup` to install dependencies. Then, run `bin/console` for an interactive prompt that will allow you to experiment.
41
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `bin/console` for an interactive prompt that will allow you to experiment. If 'bin/console' causes trouble, try 'rake console' instead.
32
42
 
33
43
  To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release` to create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
34
44
 
@@ -1,5 +1,5 @@
1
1
  module Teachable
2
2
  module Jg
3
- VERSION = "0.0.8"
3
+ VERSION = "0.0.9"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: teachable-jg
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joshua