microsoft-graph-client 0.1.1 → 0.1.2
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/CHANGELOG.md +3 -0
- data/Gemfile.lock +1 -1
- data/README.md +8 -0
- data/bin/console +1 -1
- data/lib/microsoft/graph/version.rb +1 -1
- data/lib/microsoft-graph-client.rb +3 -0
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7eb6c7f45e60d02c0a205561bcf9def0d3938429fa807bbb22280824e9c7d78c
|
|
4
|
+
data.tar.gz: 118ccaadd27f7edd93a2a6bb1aef90fa269b28ac79ffe6e79e079afac338edf2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d2f6bede12bf538f81fb26f6431dc6ca6ef70435363151d6ca2b05fbbe5ba5a1910ee293ea8217459c4c85a79cb251fea119d5500e6fca8d1df72e8324fb3067
|
|
7
|
+
data.tar.gz: 57c446d324c4cdc977d75cdb17992d81fa84c64a9d7fff0b8722cc50554c39bb3643cac28b608fc7c4f79f971c4443b1445e329f9c11cf01c924632b9deaf008
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
|
@@ -18,6 +18,12 @@ Or install it yourself as:
|
|
|
18
18
|
|
|
19
19
|
$ gem install microsoft-graph
|
|
20
20
|
|
|
21
|
+
Once you have installed it, require it via:
|
|
22
|
+
|
|
23
|
+
```ruby
|
|
24
|
+
require 'microsoft-graph-client'
|
|
25
|
+
```
|
|
26
|
+
|
|
21
27
|
## Usage
|
|
22
28
|
|
|
23
29
|
The gem supports both individual calls to the API. To issue either of these calls, it's important to initialize the Graph
|
|
@@ -29,6 +35,8 @@ You will have to [register the app](https://docs.microsoft.com/en-us/azure/activ
|
|
|
29
35
|
Here's some sample code to get you started:
|
|
30
36
|
|
|
31
37
|
```ruby
|
|
38
|
+
require 'microsoft-graph-client'
|
|
39
|
+
|
|
32
40
|
username = 'admin@tenant.onmicrosoft.com'
|
|
33
41
|
password = 'xxxxxxxxxxxx'
|
|
34
42
|
client_id = 'xxxxx-xxxx-xxx-xxxxxx-xxxxxxx'
|
data/bin/console
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
# frozen_string_literal: true
|
|
3
3
|
|
|
4
4
|
require "bundler/setup"
|
|
5
|
-
require "microsoft
|
|
5
|
+
require "microsoft-graph-client"
|
|
6
6
|
|
|
7
7
|
# You can add fixtures and/or initialization code here to make experimenting
|
|
8
8
|
# with your gem easier. You can also use a different console, if you like.
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: microsoft-graph-client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kirill Klimuk
|
|
@@ -45,6 +45,7 @@ files:
|
|
|
45
45
|
- Rakefile
|
|
46
46
|
- bin/console
|
|
47
47
|
- bin/setup
|
|
48
|
+
- lib/microsoft-graph-client.rb
|
|
48
49
|
- lib/microsoft/graph.rb
|
|
49
50
|
- lib/microsoft/graph/batch.rb
|
|
50
51
|
- lib/microsoft/graph/body_formatter.rb
|