absorb_api 0.1.7 → 0.1.8

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: df5c023f77247d8186af3453e01982e7c0b8b5db
4
- data.tar.gz: f919ce762f4c61da460b7849e1b45f40bb1101f4
3
+ metadata.gz: fe8adcc80c7c0da2a4a7f8e2ad8b050ff302de96
4
+ data.tar.gz: c53b4e4300cccd5ed1570c8e67022200045d51c4
5
5
  SHA512:
6
- metadata.gz: 08b16f5c048509a34c4c9122b359835a3087cd5db8de0236faa043fc987315b80e1dfa5d39e36318b0809b4613c2981e1da692afa997b2249baf1f2c5bc7ad10
7
- data.tar.gz: 162857984e61b21a381cca62c071e08b324d0a9defaa6933953cbca1bb88e01a03babad061153cc9765cd93ae8ea96688f0447d55c78e93d3d9b2f9cc19391d5
6
+ metadata.gz: 40a785e9271ecd1d193185ab82b44c5863143f3d23d89f2197535fb191c89f211f4ab321ebd8cdbcf41114107c64a90cbf3da273c4861eb3a1b4c999da9d0b52
7
+ data.tar.gz: 7afcbc61f2e2fc2d98e4b1d1f0969aee59711fde381aee1b69e7bbb48476f36dcc56af01a35310cd4eac267db87b1983158dddc490d67947d8a45bf3655909a8
@@ -47,7 +47,7 @@ module AbsorbApi
47
47
  yield object if block_given?
48
48
  attrs = JSON.parse(object.to_json)
49
49
  attrs.keys.each { |k| attrs[ k.camelize ] = attrs.delete(k) }
50
- response = Base.api.post("#{to_s.demodulize.pluralize}", attrs)
50
+ response = AbsorbApi.api.post("#{to_s.demodulize.pluralize}", attrs)
51
51
  if response.status == 500
52
52
  raise ValidationError
53
53
  elsif response.status == 405
@@ -1,3 +1,3 @@
1
1
  module AbsorbApi
2
- VERSION = "0.1.7"
2
+ VERSION = "0.1.8"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: absorb_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - npezza
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-01-25 00:00:00.000000000 Z
11
+ date: 2016-01-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -172,7 +172,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
172
172
  version: '0'
173
173
  requirements: []
174
174
  rubyforge_project:
175
- rubygems_version: 2.4.8
175
+ rubygems_version: 2.4.6
176
176
  signing_key:
177
177
  specification_version: 4
178
178
  summary: API wrapper for Absorb LMS