upay 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/upay.rb +2 -0
- data/lib/upay/api/api.rb +37 -0
- data/lib/upay/version.rb +1 -1
- data/upay-0.0.1.gem +0 -0
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3722b28e7b20c1cb8b4bb17234d01143d74f85d0
|
4
|
+
data.tar.gz: b1eccbd122afd9a8e23dac9b99bc57c9bdcc3c09
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b798022b91c2e7567db2091fd2c5451f488fcdc9adfeff77aec302f7ec4fd0900392d772b7e1754ceb2a964a8610d16ef2d012b22ff5181b1d2c648b05e9632c
|
7
|
+
data.tar.gz: 220c435374eb42da164a40fb98f901e84e7b101454aef4473715b2914f95cf8e8679b4ec461d9a52cc4ac6caead13feed561934e8d011ead5c41427b5fc0e0b1
|
data/lib/upay.rb
CHANGED
data/lib/upay/api/api.rb
ADDED
@@ -0,0 +1,37 @@
|
|
1
|
+
module Upay
|
2
|
+
class API
|
3
|
+
def credit_card(args = {})
|
4
|
+
CreditCard.new(args)
|
5
|
+
end
|
6
|
+
def customer(args = {})
|
7
|
+
Customer.new(args)
|
8
|
+
end
|
9
|
+
def order(args = {})
|
10
|
+
Order.new(args)
|
11
|
+
end
|
12
|
+
def payment(args = {})
|
13
|
+
Payment.new(args)
|
14
|
+
end
|
15
|
+
def plan(args = {})
|
16
|
+
Plan.new(args)
|
17
|
+
end
|
18
|
+
def report(args = {})
|
19
|
+
Report.new(args)
|
20
|
+
end
|
21
|
+
def requestor(args = {})
|
22
|
+
Requestor.new(args)
|
23
|
+
end
|
24
|
+
def signature(args = {})
|
25
|
+
Signature.new(args)
|
26
|
+
end
|
27
|
+
def subscription(args = {})
|
28
|
+
Subscription.new(args)
|
29
|
+
end
|
30
|
+
def token(args = {})
|
31
|
+
Token.new(args)
|
32
|
+
end
|
33
|
+
def transaction(args = {})
|
34
|
+
Transaction.new(args)
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
data/lib/upay/version.rb
CHANGED
data/upay-0.0.1.gem
ADDED
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: upay
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gess Gallardo
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-07-
|
11
|
+
date: 2015-07-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -271,6 +271,7 @@ files:
|
|
271
271
|
- lib/upay/address/address.rb
|
272
272
|
- lib/upay/address/billing_address.rb
|
273
273
|
- lib/upay/address/shipping_address.rb
|
274
|
+
- lib/upay/api/api.rb
|
274
275
|
- lib/upay/configure.rb
|
275
276
|
- lib/upay/credit_card.rb
|
276
277
|
- lib/upay/customer.rb
|
@@ -310,6 +311,7 @@ files:
|
|
310
311
|
- spec/lib/upay_spec.rb
|
311
312
|
- spec/spec_helper.rb
|
312
313
|
- spec/support/factory_girl.rb
|
314
|
+
- upay-0.0.1.gem
|
313
315
|
- upay.gemspec
|
314
316
|
homepage: http://rubygems.org/gems/upay
|
315
317
|
licenses:
|