billomat 0.1.3 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.gitignore +0 -1
- data/README.md +9 -5
- data/doc/assets/logo.png +0 -0
- data/doc/assets/project.png +0 -0
- data/doc/assets/project.xcf +0 -0
- data/lib/billomat/configuration.rb +1 -1
- data/lib/billomat/gateway.rb +1 -1
- data/lib/billomat/version.rb +1 -1
- metadata +5 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 33bd513552938f033a44cf0309bebfeb794f22d9
|
|
4
|
+
data.tar.gz: 5a503ad79b891559bdd417ea02e956f53fb5795a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c5d1f9f84e01b162360a92d479ce6f6974cb51831975f240be7c14ed5a1ef7e0f0f176955bdd048a50f7e07f94522dc99a73b72bfe608cb4f05fee2b0b51c63a
|
|
7
|
+
data.tar.gz: 1aa0161801c5b0e7bd1efd1292aa95223d30294e108a2510095058f22d91fa1a5cc54595c7f2ec3f0cfe0545dcca0b37e2271293169083bb099c9d0f3562d390
|
data/.gitignore
CHANGED
data/README.md
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+

|
|
2
|
+
|
|
2
3
|
[](https://travis-ci.org/hausgold/billomat)
|
|
3
4
|
[](https://badge.fury.io/rb/billomat)
|
|
4
5
|
[](https://codeclimate.com/github/hausgold/billomat/maintainability)
|
|
@@ -30,12 +31,15 @@ $ gem install billomat
|
|
|
30
31
|
|
|
31
32
|
### Configuration
|
|
32
33
|
|
|
33
|
-
The
|
|
34
|
+
The billomat gem can be easily configured.
|
|
35
|
+
If you're using Rails you might want to put this in your `application.rb`
|
|
36
|
+
or inside an initializer.
|
|
34
37
|
|
|
35
38
|
```ruby
|
|
36
39
|
Billomat.configure do |config|
|
|
37
|
-
config.subdomain = '
|
|
38
|
-
config.api_key = '
|
|
40
|
+
config.subdomain = 'example' # Subdomain, e.g. example.billomat.net
|
|
41
|
+
config.api_key = '4aefdc...' # API key
|
|
42
|
+
config.timeout = 5 # timeout in seconds
|
|
39
43
|
end
|
|
40
44
|
```
|
|
41
45
|
|
|
@@ -60,7 +64,7 @@ client.delete
|
|
|
60
64
|
|
|
61
65
|
### Documentation
|
|
62
66
|
|
|
63
|
-
The RubyDoc is available [here](http://www.rubydoc.info/gems/billomat
|
|
67
|
+
The RubyDoc is available [here](http://www.rubydoc.info/gems/billomat).
|
|
64
68
|
|
|
65
69
|
|
|
66
70
|
## Development
|
data/doc/assets/logo.png
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
data/lib/billomat/gateway.rb
CHANGED
data/lib/billomat/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: billomat
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Henning Vogt
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-
|
|
11
|
+
date: 2017-11-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rest-client
|
|
@@ -117,6 +117,9 @@ files:
|
|
|
117
117
|
- billomat.gemspec
|
|
118
118
|
- bin/console
|
|
119
119
|
- bin/setup
|
|
120
|
+
- doc/assets/logo.png
|
|
121
|
+
- doc/assets/project.png
|
|
122
|
+
- doc/assets/project.xcf
|
|
120
123
|
- lib/billomat.rb
|
|
121
124
|
- lib/billomat/actions.rb
|
|
122
125
|
- lib/billomat/actions/cancel.rb
|