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.
Files changed (3) hide show
  1. checksums.yaml +8 -8
  2. data/lib/adn_viewer.rb +1 -2
  3. metadata +3 -2
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ODY5ZDg4M2JjYjBhNTA1ODBkZDI2ZTY5NWI1Y2YxZmNmNDZmYTcyMA==
4
+ ZTNjYzk0YWE1OTg0NTdmYzRjZTg2MzY2YTM3ODlkNGQyNjY5MzI4Ng==
5
5
  data.tar.gz: !binary |-
6
- MTBlYjAxZDg1YzY4MjVhZWJmNGUyMzA5ZDZhZWI5ZTU5NzMwZmI4MA==
6
+ YjNhMmU5OGYwYTllZjFmNWNlNzEzOWE4ODgxMDY1OTYwYTQ3MzU2NQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YjQwNjk2ZDU3YWY2YTFhOWQ0YjgxOTgwODQ3YzU0NmZjMTg3ODBmODFjZTMw
10
- NmE2ZTg0MzFkZjkxMGM1ZmZkNmM1ZjM1ZmM0YWQ4OTFhMmJmMGNmZGFjY2Rk
11
- ZDQ3ODYyNGFlNWYyMTZlNGMwNTMzY2M3NTdlZTY5Mjc0YTZjZmU=
9
+ NzM5ZDBiNjMyOTIwMjY1YTkxODE1MzU1OGZiNzE0NmZlYTljNGFmOWIzMDg3
10
+ ZWJlZDU4ZGY1ZjBiZWVjMGI0YWViODdhNzA4ZjIyZjYzNzY2ZTNkOWEwYjFm
11
+ ZjI5N2NkYTc3MjA1YjhhNjNhMmQ0M2M4ZWZlZjVkOGVmMTE5MjM=
12
12
  data.tar.gz: !binary |-
13
- Y2EyNTdmYzQwZmVmYWI4NTljYjljYzZkYmQ0N2UxOTE2MzRmNjQwZGIxOTc1
14
- OThjNjg3YjRhMjFkMWE0ZjMxMDg5OWYxZjdjMjMzYWZkZDAxZTkwNzY4MTZj
15
- MTIyY2RjZDQ5OWIyYmYxMzNmOGIyOGM1MjFjYWM5MDM4OGZiZTM=
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
- token = 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)
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.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 easier
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: []