adn_viewer 0.0.0 → 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/adn_viewer.rb +1 -2
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZTNjYzk0YWE1OTg0NTdmYzRjZTg2MzY2YTM3ODlkNGQyNjY5MzI4Ng==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
YjNhMmU5OGYwYTllZjFmNWNlNzEzOWE4ODgxMDY1OTYwYTQ3MzU2NQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NzM5ZDBiNjMyOTIwMjY1YTkxODE1MzU1OGZiNzE0NmZlYTljNGFmOWIzMDg3
|
10
|
+
ZWJlZDU4ZGY1ZjBiZWVjMGI0YWViODdhNzA4ZjIyZjYzNzY2ZTNkOWEwYjFm
|
11
|
+
ZjI5N2NkYTc3MjA1YjhhNjNhMmQ0M2M4ZWZlZjVkOGVmMTE5MjM=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZTI2ZTE2MmE5Y2NjYTAxMWQ3N2Q5MzE5YjIyMTY0MDQ3NDZiZWI0YTc1MGJi
|
14
|
+
OGUzOTM5ODJkYWRkYmY5ZWU5ZjhiYTM1YmE4MTkyODgyMzczODkyODFiOWU4
|
15
|
+
ZDRmYzNmYzM5Mjc0NWFkMDNlNTM5ZTgwZWExNGVmMDZlYjVmMGY=
|
data/lib/adn_viewer.rb
CHANGED
@@ -1,6 +1,5 @@
|
|
1
1
|
class Adn_Viewer
|
2
2
|
def self.token(key, secret)
|
3
|
-
|
4
|
-
token["access_token"]
|
3
|
+
JSON.parse(CurbFu.post({:host => 'developer.api.autodesk.com', :path => '/authentication/v1/authenticate', :protocol => "https"}, { :client_id => key, :client_secret => secret, :grant_type => 'client_credentials' }).body)
|
5
4
|
end
|
6
5
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: adn_viewer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pratham Makhni Alag
|
@@ -40,5 +40,6 @@ rubyforge_project:
|
|
40
40
|
rubygems_version: 2.4.5
|
41
41
|
signing_key:
|
42
42
|
specification_version: 4
|
43
|
-
summary: Ruby gem to make usage of Autodesk View and Data API in a Ruby app
|
43
|
+
summary: Ruby gem to make usage of Autodesk View and Data API in a Ruby on Rails app
|
44
|
+
easier
|
44
45
|
test_files: []
|