net_registry 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +22 -0
- data/.rspec +2 -0
- data/Gemfile +28 -0
- data/LICENSE.txt +23 -0
- data/README.md +108 -0
- data/Rakefile +2 -0
- data/lib/net_registry/card.rb +42 -0
- data/lib/net_registry/client.rb +83 -0
- data/lib/net_registry/errors.rb +27 -0
- data/lib/net_registry/helpers.rb +29 -0
- data/lib/net_registry/response.rb +61 -0
- data/lib/net_registry/response_builder.rb +203 -0
- data/lib/net_registry/transaction.rb +48 -0
- data/lib/net_registry/version.rb +27 -0
- data/lib/net_registry.rb +36 -0
- data/net_registry.gemspec +53 -0
- data/spec/card_spec.rb +73 -0
- data/spec/client_spec.rb +265 -0
- data/spec/response_builder_spec.rb +326 -0
- data/spec/response_spec.rb +89 -0
- data/spec/spec_helper.rb +103 -0
- data/spec/transaction_spec.rb +97 -0
- metadata +130 -0
metadata
ADDED
@@ -0,0 +1,130 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: net_registry
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.2
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Ray Tung
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2015-08-10 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.6'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.6'
|
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
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rspec
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: webmock
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
description: |-
|
70
|
+
This gem serves as a Ruby wrapper for the NetRegistry Payment Gateway's
|
71
|
+
API. Official documentation can be found at http://www.netregistry.com.au/ee-images/uploads/support/NR-ecom-gateway8.pdf. Source can be found on https://github.com/carnextnoor/net_registry
|
72
|
+
email:
|
73
|
+
- ray@carnextdoor.com.au
|
74
|
+
executables: []
|
75
|
+
extensions: []
|
76
|
+
extra_rdoc_files: []
|
77
|
+
files:
|
78
|
+
- ".gitignore"
|
79
|
+
- ".rspec"
|
80
|
+
- Gemfile
|
81
|
+
- LICENSE.txt
|
82
|
+
- README.md
|
83
|
+
- Rakefile
|
84
|
+
- lib/net_registry.rb
|
85
|
+
- lib/net_registry/card.rb
|
86
|
+
- lib/net_registry/client.rb
|
87
|
+
- lib/net_registry/errors.rb
|
88
|
+
- lib/net_registry/helpers.rb
|
89
|
+
- lib/net_registry/response.rb
|
90
|
+
- lib/net_registry/response_builder.rb
|
91
|
+
- lib/net_registry/transaction.rb
|
92
|
+
- lib/net_registry/version.rb
|
93
|
+
- net_registry.gemspec
|
94
|
+
- spec/card_spec.rb
|
95
|
+
- spec/client_spec.rb
|
96
|
+
- spec/response_builder_spec.rb
|
97
|
+
- spec/response_spec.rb
|
98
|
+
- spec/spec_helper.rb
|
99
|
+
- spec/transaction_spec.rb
|
100
|
+
homepage: ''
|
101
|
+
licenses:
|
102
|
+
- MIT
|
103
|
+
metadata: {}
|
104
|
+
post_install_message:
|
105
|
+
rdoc_options: []
|
106
|
+
require_paths:
|
107
|
+
- lib
|
108
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
109
|
+
requirements:
|
110
|
+
- - ">="
|
111
|
+
- !ruby/object:Gem::Version
|
112
|
+
version: '2.0'
|
113
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
requirements: []
|
119
|
+
rubyforge_project:
|
120
|
+
rubygems_version: 2.4.8
|
121
|
+
signing_key:
|
122
|
+
specification_version: 4
|
123
|
+
summary: This gem serves as a Ruby wrapper for the NetRegistry Payment Gateway's API.
|
124
|
+
test_files:
|
125
|
+
- spec/card_spec.rb
|
126
|
+
- spec/client_spec.rb
|
127
|
+
- spec/response_builder_spec.rb
|
128
|
+
- spec/response_spec.rb
|
129
|
+
- spec/spec_helper.rb
|
130
|
+
- spec/transaction_spec.rb
|