lms-api 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9da62cf6a858e4ca870de34481c3743cc47b6e68
4
- data.tar.gz: 4aa52417f3496dc13b7f5f75b52f04f1536cf44e
3
+ metadata.gz: d9ff5ce7a1b7f43c797589f4ff73fdf29426849b
4
+ data.tar.gz: 0e54858b2e8eda9fa4546de3f28864b76b799c87
5
5
  SHA512:
6
- metadata.gz: 37f9908c731adebc7e4812befaf057508bf488c075c2ddbed3807b4042e11fbedc644e9a3c83209237bbbfec0c37dca8669f5585782a368cd4f6c7ac5db3add6
7
- data.tar.gz: 79f715ca72653c89bb99e43818e07a0deb4a9c927083631ae2d44505f4b20072ed0e2a7b8c9c6b0925cfb9270d2c39185cd4192eaafe1a24f0248bd5790a85fb
6
+ metadata.gz: 9fa9037a766868a50954be5abc0efa3311e70e0df94d675c88de50734f9adc647d18d9ba4b11b6676180e11f95d71f6f6d09482f39ec594f73b523f66c011e9f
7
+ data.tar.gz: 1af83b89262e01a268d0a00d7672679fb3aef1ffef238503e9fee9260127900a628c1ab29188de890d6ea2c60937b55d6adcce8aa49ee18308c5acdbcb381bf5
data/README.md CHANGED
@@ -43,6 +43,9 @@ url of the LMS instance you want to communicate with, as well as the
43
43
  current authentication object, and (optionally) a hash of options to use
44
44
  when refreshing the API token.
45
45
 
46
+ Require the gem:
47
+ `require "lms/api"`
48
+
46
49
  ```ruby
47
50
  auth = Authentication.first # or however you are storing global auth state
48
51
  api = LMS::API.new("http://your.canvas.instance", auth,
data/lib/lms/api.rb CHANGED
@@ -1,3 +1,4 @@
1
+ require "httparty"
1
2
  require "active_support"
2
3
  require "active_support/core_ext/object/blank"
3
4
  require "active_support/core_ext/object/to_query"
data/lib/lms/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module LMS
2
- VERSION = "1.0.2"
2
+ VERSION = "1.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lms-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Atomic Jolt