art-gun 0.1.0 → 0.1.1

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: 27ac37f1a70ebbc640a1062e21da65dda3959397
4
- data.tar.gz: dd03417b992e8b66ebb368f41e34a90b1dbd40c2
3
+ metadata.gz: 2c50a4cb236e4e9261427240896416fcfc4c0ac6
4
+ data.tar.gz: 290fa8e9a240d8e2b12a3e955e8e726e9cba4038
5
5
  SHA512:
6
- metadata.gz: 5d08a186a44eb601625096117b2f3e7223e32031019141f643b3838b792466a0d81f079207438452b6565d84f56fc2cc83f04d53033ac8b1d1efcc76744f1c3b
7
- data.tar.gz: d7115a21dcad6f9a12700490dd8e8c9d93a9ddf30bc78ccc4611b13eddfc4e91d264bc6b24088d44cf1ebd0e6d3a3e4f760e24e32d1c083b70811cd43c19dee9
6
+ metadata.gz: 11c5ca00049fe958e2642de03aaa0f97be3ffc0ea2f276867b03ad632dc06fa8daf45e0a047d56bfdf8c0a026f00986e58e9681e1d708470afa8b7d1fd491da3
7
+ data.tar.gz: 3707ed8faf59d76520f3c4dc670a54d5ee078440fc5691ef48f7039c28bf24b6f7cbfe5ae7fcb63580ddfa0369d6b5657ad4de2bfe7fe98655a3c51c0b4ad12f
data/README.md CHANGED
@@ -21,7 +21,7 @@ Or install it yourself as:
21
21
 
22
22
  ## Usage
23
23
 
24
- TODO: Write usage instructions here
24
+ Docs are in progress: https://www.inkpad.io/FLdkG9lXoo
25
25
 
26
26
  ## Development
27
27
 
@@ -6,6 +6,7 @@ require 'dotenv'
6
6
  Dotenv.load
7
7
 
8
8
  require "art-gun"
9
+ include ArtGun
9
10
 
10
11
  puts "ArtGun.test_mode? => #{ArtGun.test_mode?}"
11
12
  puts "ArtGun.config_valid? => #{ArtGun.config_valid?}"
@@ -15,6 +15,8 @@ module ArtGun
15
15
  signature: signature
16
16
  )
17
17
  resp = http.request(request)
18
- ArtGun::Response.new.from_json resp.body
18
+ ag_resp = ArtGun::Response.new.from_json resp.body
19
+ ag_resp.raw = resp.body
20
+ ag_resp
19
21
  end
20
22
  end
@@ -3,7 +3,7 @@ module ArtGun
3
3
  include ActiveModel::Model
4
4
  include ActiveModel::Serializers::JSON
5
5
 
6
- @@attrs = %i(code message receipt_id res time url xid)
6
+ @@attrs = %i(code message receipt_id res time url xid raw)
7
7
  cattr_reader :attrs
8
8
  attr_accessor *attrs
9
9
 
@@ -1,3 +1,3 @@
1
1
  module ArtGun
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: art-gun
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lars Kluge
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-08-13 00:00:00.000000000 Z
11
+ date: 2015-08-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel