openpay 0.9.8

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.
Files changed (51) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +17 -0
  3. data/.idea/.name +1 -0
  4. data/.idea/.rakeTasks +7 -0
  5. data/.idea/OpenPay.iml +614 -0
  6. data/.idea/dictionaries/ronnie.xml +7 -0
  7. data/.idea/encodings.xml +5 -0
  8. data/.idea/misc.xml +5 -0
  9. data/.idea/modules.xml +9 -0
  10. data/.idea/runConfigurations/Run_spec__bankaccounts_spec___OpenPay.xml +37 -0
  11. data/.idea/runConfigurations/Run_spec__customers_spec___OpenPay.xml +37 -0
  12. data/.idea/runConfigurations/all_specs.xml +41 -0
  13. data/.idea/scopes/scope_settings.xml +5 -0
  14. data/.idea/vcs.xml +7 -0
  15. data/Gemfile +11 -0
  16. data/LICENSE.txt +13 -0
  17. data/OpenPay.gemspec +24 -0
  18. data/README.md +370 -0
  19. data/Rakefile +1 -0
  20. data/lib/OpenPay/Cards.rb +76 -0
  21. data/lib/OpenPay/Charges.rb +79 -0
  22. data/lib/OpenPay/Customers.rb +195 -0
  23. data/lib/OpenPay/Fees.rb +5 -0
  24. data/lib/OpenPay/Payouts.rb +59 -0
  25. data/lib/OpenPay/Plans.rb +28 -0
  26. data/lib/OpenPay/Subscriptions.rb +58 -0
  27. data/lib/OpenPay/Transfers.rb +43 -0
  28. data/lib/OpenPay/bankaccounts.rb +66 -0
  29. data/lib/OpenPay/errors/open_pay_exception.rb +51 -0
  30. data/lib/OpenPay/errors/open_pay_exception_factory.rb +58 -0
  31. data/lib/OpenPay/errors/openpay_connection_exception.rb +3 -0
  32. data/lib/OpenPay/errors/openpay_transaction_exception.rb +5 -0
  33. data/lib/OpenPay/open_pay_resource.rb +242 -0
  34. data/lib/OpenPay/open_pay_resource_factory.rb +10 -0
  35. data/lib/OpenPay/openpay_api.rb +63 -0
  36. data/lib/OpenPay/version.rb +3 -0
  37. data/lib/openpay.rb +34 -0
  38. data/test/Factories.rb +258 -0
  39. data/test/spec/bankaccounts_spec.rb +187 -0
  40. data/test/spec/cards_spec.rb +411 -0
  41. data/test/spec/charges_spec.rb +377 -0
  42. data/test/spec/customers_spec.rb +230 -0
  43. data/test/spec/exceptions_spec.rb +138 -0
  44. data/test/spec/fees_spec.rb +113 -0
  45. data/test/spec/openpayresource_spec.rb +52 -0
  46. data/test/spec/payouts_spec.rb +197 -0
  47. data/test/spec/plans_spec.rb +229 -0
  48. data/test/spec/subscriptions_spec.rb +228 -0
  49. data/test/spec/transfers_spec.rb +221 -0
  50. data/test/spec_helper.rb +16 -0
  51. metadata +135 -0
metadata ADDED
@@ -0,0 +1,135 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: openpay
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.9.8
5
+ platform: ruby
6
+ authors:
7
+ - ronnie_bermejo
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2013-12-30 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ~>
18
+ - !ruby/object:Gem::Version
19
+ version: '1.3'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ~>
25
+ - !ruby/object:Gem::Version
26
+ version: '1.3'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '>='
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ description: ruby client for Openpay API services (version 1.0.0)
42
+ email:
43
+ - ronnie.bermejo.mx@gmail.com
44
+ executables: []
45
+ extensions: []
46
+ extra_rdoc_files: []
47
+ files:
48
+ - .gitignore
49
+ - .idea/.name
50
+ - .idea/.rakeTasks
51
+ - .idea/OpenPay.iml
52
+ - .idea/dictionaries/ronnie.xml
53
+ - .idea/encodings.xml
54
+ - .idea/misc.xml
55
+ - .idea/modules.xml
56
+ - .idea/runConfigurations/Run_spec__bankaccounts_spec___OpenPay.xml
57
+ - .idea/runConfigurations/Run_spec__customers_spec___OpenPay.xml
58
+ - .idea/runConfigurations/all_specs.xml
59
+ - .idea/scopes/scope_settings.xml
60
+ - .idea/vcs.xml
61
+ - Gemfile
62
+ - LICENSE.txt
63
+ - OpenPay.gemspec
64
+ - README.md
65
+ - Rakefile
66
+ - lib/OpenPay/Cards.rb
67
+ - lib/OpenPay/Charges.rb
68
+ - lib/OpenPay/Customers.rb
69
+ - lib/OpenPay/Fees.rb
70
+ - lib/OpenPay/Payouts.rb
71
+ - lib/OpenPay/Plans.rb
72
+ - lib/OpenPay/Subscriptions.rb
73
+ - lib/OpenPay/Transfers.rb
74
+ - lib/OpenPay/bankaccounts.rb
75
+ - lib/OpenPay/errors/open_pay_exception.rb
76
+ - lib/OpenPay/errors/open_pay_exception_factory.rb
77
+ - lib/OpenPay/errors/openpay_connection_exception.rb
78
+ - lib/OpenPay/errors/openpay_transaction_exception.rb
79
+ - lib/OpenPay/open_pay_resource.rb
80
+ - lib/OpenPay/open_pay_resource_factory.rb
81
+ - lib/OpenPay/openpay_api.rb
82
+ - lib/OpenPay/version.rb
83
+ - lib/openpay.rb
84
+ - test/Factories.rb
85
+ - test/spec/bankaccounts_spec.rb
86
+ - test/spec/cards_spec.rb
87
+ - test/spec/charges_spec.rb
88
+ - test/spec/customers_spec.rb
89
+ - test/spec/exceptions_spec.rb
90
+ - test/spec/fees_spec.rb
91
+ - test/spec/openpayresource_spec.rb
92
+ - test/spec/payouts_spec.rb
93
+ - test/spec/plans_spec.rb
94
+ - test/spec/subscriptions_spec.rb
95
+ - test/spec/transfers_spec.rb
96
+ - test/spec_helper.rb
97
+ homepage: http://openpay.mx/
98
+ licenses:
99
+ - Apache
100
+ metadata: {}
101
+ post_install_message: Thanks for installing openpay. Enjoy !
102
+ rdoc_options: []
103
+ require_paths:
104
+ - lib
105
+ - lib/openpay
106
+ required_ruby_version: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - '>='
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ required_rubygems_version: !ruby/object:Gem::Requirement
112
+ requirements:
113
+ - - '>='
114
+ - !ruby/object:Gem::Version
115
+ version: '0'
116
+ requirements: []
117
+ rubyforge_project:
118
+ rubygems_version: 2.0.6
119
+ signing_key:
120
+ specification_version: 4
121
+ summary: ruby api for openpay resources
122
+ test_files:
123
+ - test/Factories.rb
124
+ - test/spec/bankaccounts_spec.rb
125
+ - test/spec/cards_spec.rb
126
+ - test/spec/charges_spec.rb
127
+ - test/spec/customers_spec.rb
128
+ - test/spec/exceptions_spec.rb
129
+ - test/spec/fees_spec.rb
130
+ - test/spec/openpayresource_spec.rb
131
+ - test/spec/payouts_spec.rb
132
+ - test/spec/plans_spec.rb
133
+ - test/spec/subscriptions_spec.rb
134
+ - test/spec/transfers_spec.rb
135
+ - test/spec_helper.rb