billogram 0.3.5 → 0.3.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +12 -12
- data/lib/billogram/resource.rb +1 -1
- data/lib/billogram/resources/customer.rb +0 -2
- data/lib/billogram/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d19c8617149c997055c24fe28e8cf5246e7ef935
|
4
|
+
data.tar.gz: 6a6eb3b078172b0a9601ab22d5fd969ce2d105bd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5cfa00c57beb5c319928ef035d57b0b74a97d240727241108bb1d8d4b39d569ce26790b526bf987ccc44b1105ec7c310d6317132afb8a075b3ba51757aac3fd0
|
7
|
+
data.tar.gz: 913bd36349fc91fc4578a239af5be0ef1ef5ca42ba0b2af8579c32e3c60b16ff290b716a1526335959642b26d7da0d48bd440c380c9a873a54ac0ef71c592ef3
|
data/README.md
CHANGED
@@ -22,20 +22,20 @@ Or install it yourself as:
|
|
22
22
|
|
23
23
|
## Usage
|
24
24
|
|
25
|
-
|
25
|
+
First you need to configure the client
|
26
26
|
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
## Contributing
|
34
|
-
|
35
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/billogram.
|
27
|
+
```ruby
|
28
|
+
Billogram.configure do |config|
|
29
|
+
config.username = '6012-qJzHT0qU'
|
30
|
+
config.password = '55105e0460d5844274dc8f7070fc0a41'
|
31
|
+
config.base_uri = "https://sandbox.billogram.com/api/v2/"
|
32
|
+
end
|
36
33
|
|
37
34
|
|
38
|
-
|
35
|
+
Billogram::Customer.search({filter_type: :field, filter_field: :customer_no, filter_value: 1})
|
36
|
+
````
|
39
37
|
|
40
|
-
|
38
|
+
List of available methods:
|
39
|
+
```ruby
|
41
40
|
|
41
|
+
```
|
data/lib/billogram/resource.rb
CHANGED
data/lib/billogram/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: billogram
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mark Birman
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-09-
|
11
|
+
date: 2015-09-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|