boletosimples 0.0.5 → 0.0.6
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/boletosimples.gemspec +1 -1
- data/lib/boletosimples/oauth_client.rb +5 -0
- data/lib/boletosimples/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2308d90f08f6bc03b5924e079ea4025c78fdf098
|
|
4
|
+
data.tar.gz: 228d16b39a08fb903dae06cecc343063a40a5440
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c5b659dd17090bb8d4f9a505fc4d7bc873b68e3e265913c48ed32aa6f16693b4b7ae359e8078aea3f2c3a57a19514fd09cc41ceb65df913030ff96f491e57f8e
|
|
7
|
+
data.tar.gz: e9542387817afba27ff562706ec11bd6dd806580f2b95656ae7eeb93255eb8d78141327775b5cbfe2e6e523e24dfddf194ee950b556bcfb147b8b675b616f1d0
|
data/boletosimples.gemspec
CHANGED
|
@@ -11,7 +11,7 @@ Gem::Specification.new do |gem|
|
|
|
11
11
|
gem.email = ['kivanio@gmail.com', 'contato@rafael.adm.br', 'contato@thiagobelem.net']
|
|
12
12
|
gem.description = 'An easy way to charge by bank billet.'
|
|
13
13
|
gem.summary = 'An easy way to charge by bank billet.'
|
|
14
|
-
gem.homepage = '
|
|
14
|
+
gem.homepage = 'https://boletosimples.com.br'
|
|
15
15
|
|
|
16
16
|
gem.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
|
|
17
17
|
gem.executables = gem.files.grep(/^bin\//).map { |f| File.basename(f) }
|
|
@@ -32,6 +32,11 @@ module BoletoSimples
|
|
|
32
32
|
fail 'No access token provided' unless token_hash[:access_token]
|
|
33
33
|
@oauth_token = OAuth2::AccessToken.from_hash(@oauth_client, token_hash)
|
|
34
34
|
end
|
|
35
|
+
|
|
36
|
+
# Users
|
|
37
|
+
def partner_create_user(options = {})
|
|
38
|
+
post '/partner/users', options
|
|
39
|
+
end
|
|
35
40
|
|
|
36
41
|
def http_verb(verb, path, options = {})
|
|
37
42
|
path = remove_leading_slash(path)
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: boletosimples
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kivanio Barbosa
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2014-10-
|
|
13
|
+
date: 2014-10-10 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: httparty
|
|
@@ -154,7 +154,7 @@ files:
|
|
|
154
154
|
- spec/boletosimples/oauth_client_spec.rb
|
|
155
155
|
- spec/spec.opts
|
|
156
156
|
- spec/spec_helper.rb
|
|
157
|
-
homepage:
|
|
157
|
+
homepage: https://boletosimples.com.br
|
|
158
158
|
licenses: []
|
|
159
159
|
metadata: {}
|
|
160
160
|
post_install_message:
|