canvas_lms_api 0.1.0 → 0.1.1
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 +4 -4
- data/README.md +1 -3
- data/lib/canvas_lms_api/client.rb +1 -0
- data/lib/canvas_lms_api/request.rb +2 -1
- data/lib/canvas_lms_api/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9796d2e660c7aa9d3c315c84fd87c090f9b4a2fa4a642df7822f1a57e89ded12
|
4
|
+
data.tar.gz: 30d20ed74c57c768612166a7ecbb5cf59d1ad7b0c05aa00eda2e803d4a7a03a1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7f59e96ba62146aaf79d186a70068fffa79806cef4ec21da81430e3fee250fe7575611e08c5f4b4de3582627bdf1b6cf87bd8da7db6ab8edb64581124adab22b
|
7
|
+
data.tar.gz: 8252746726b085668c98081b4ebc25cc71e92353d2fe175f51522593c98ae801ac9a630b839cee7eda5a1924d8660391510e87be97a1d109cf431ebb75d1a7fa
|
data/README.md
CHANGED
@@ -4,8 +4,6 @@ A simple ruby API client for CanvasLMS.
|
|
4
4
|
|
5
5
|
## Installation
|
6
6
|
|
7
|
-
TODO: Replace `UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG` with your gem name right after releasing it to RubyGems.org. Please do not do it earlier due to security reasons. Alternatively, replace this section with instructions to install your gem from git if you don't plan to release to RubyGems.org.
|
8
|
-
|
9
7
|
Install the gem and add to the application's Gemfile by executing:
|
10
8
|
|
11
9
|
```bash
|
@@ -15,7 +13,7 @@ bundle add UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG
|
|
15
13
|
If bundler is not being used to manage dependencies, install the gem by executing:
|
16
14
|
|
17
15
|
```bash
|
18
|
-
gem install
|
16
|
+
gem install canvas_lms_api
|
19
17
|
```
|
20
18
|
|
21
19
|
## Usage
|
@@ -6,8 +6,9 @@ require "canvas_lms_api/response"
|
|
6
6
|
|
7
7
|
module CanvasLmsApi
|
8
8
|
class Request
|
9
|
-
def initialize(uri, method = nil, payload = nil)
|
9
|
+
def initialize(uri, api_key, method = nil, payload = nil)
|
10
10
|
@uri = uri
|
11
|
+
@api_key = api_key
|
11
12
|
@method = method
|
12
13
|
@payload = payload
|
13
14
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: canvas_lms_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Christopher Bennell
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-10-
|
11
|
+
date: 2024-10-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rack
|
@@ -126,5 +126,5 @@ requirements: []
|
|
126
126
|
rubygems_version: 3.3.7
|
127
127
|
signing_key:
|
128
128
|
specification_version: 4
|
129
|
-
summary: A simple API client for CanvasLMS.
|
129
|
+
summary: A simple ruby API client for CanvasLMS.
|
130
130
|
test_files: []
|