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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7e868dd319211d75a20c3b6c37c2628577a87d99
4
- data.tar.gz: b62f71306f1e3dd9a022f702a234c30df2b54e26
3
+ metadata.gz: 3722b28e7b20c1cb8b4bb17234d01143d74f85d0
4
+ data.tar.gz: b1eccbd122afd9a8e23dac9b99bc57c9bdcc3c09
5
5
  SHA512:
6
- metadata.gz: 7f379d2b47dd87101630229bda7689327b0548c1f62edcfb4ffa7da8995f7201d4504b7f954bd83237e3cf3ae312e1a2acbbc5e9c0781a09e76741473df33dd3
7
- data.tar.gz: 2224ce33db0a264f0fd639a47f2fec35725b845bc06c97061c98555c109872751d1c5c802a22e0e76811b745a8a3791c574a26a7a8ba268defb471360e85eca4
6
+ metadata.gz: b798022b91c2e7567db2091fd2c5451f488fcdc9adfeff77aec302f7ec4fd0900392d772b7e1754ceb2a964a8610d16ef2d012b22ff5181b1d2c648b05e9632c
7
+ data.tar.gz: 220c435374eb42da164a40fb98f901e84e7b101454aef4473715b2914f95cf8e8679b4ec461d9a52cc4ac6caead13feed561934e8d011ead5c41427b5fc0e0b1
@@ -11,6 +11,8 @@ require "upay/address/address"
11
11
  require "upay/address/billing_address"
12
12
  require "upay/address/shipping_address"
13
13
 
14
+ require "upay/api/api"
15
+
14
16
  require "upay/credit_card"
15
17
  require "upay/customer"
16
18
  require "upay/order"
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Upay
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
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.1
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-08 00:00:00.000000000 Z
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: