monetra 0.0.2.2 → 0.0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/lib/monetra/transaction/token.rb +4 -4
- data/monetra.gemspec +2 -2
- metadata +3 -3
data/Rakefile
CHANGED
@@ -2,7 +2,7 @@ require 'rubygems'
|
|
2
2
|
require 'rake'
|
3
3
|
require 'echoe'
|
4
4
|
|
5
|
-
Echoe.new('monetra', '0.0.2.
|
5
|
+
Echoe.new('monetra', '0.0.2.3') do |p|
|
6
6
|
p.description = "A gem that uses the Monetra API to perform actions"
|
7
7
|
p.url = "http://github.com/winelibrary/monetra"
|
8
8
|
p.author = "Dan Ahern"
|
@@ -36,7 +36,7 @@ module Monetra
|
|
36
36
|
|
37
37
|
class << self
|
38
38
|
def new(attributes={})
|
39
|
-
request = Request.new(attributes.merge(:action => "Admin", :type => "store", :admin => "recurringadd", :
|
39
|
+
request = Request.new(attributes.merge(:action => "Admin", :type => "store", :admin => "recurringadd", :username => Monetra::Configuration.user_name, :password => Monetra::Configuration.password))
|
40
40
|
body = Connection.post(Monetra::Parse.request(request))
|
41
41
|
body = Hash.from_xml(body)
|
42
42
|
transfer_status = body["MonetraResp"]["DataTransferStatus"]
|
@@ -50,7 +50,7 @@ module Monetra
|
|
50
50
|
end
|
51
51
|
|
52
52
|
def find(attributes={})
|
53
|
-
request = Request.new(attributes.merge(:action => "Admin", :type => "store", :admin => "recurringlist", :
|
53
|
+
request = Request.new(attributes.merge(:action => "Admin", :type => "store", :admin => "recurringlist", :username => Monetra::Configuration.user_name, :password => Monetra::Configuration.password))
|
54
54
|
body = Connection.post(Monetra::Parse.request(request))
|
55
55
|
body = Hash.from_xml(body)
|
56
56
|
transfer_status = body["MonetraResp"]["DataTransferStatus"]
|
@@ -64,7 +64,7 @@ module Monetra
|
|
64
64
|
end
|
65
65
|
|
66
66
|
def edit(attributes={})
|
67
|
-
request = Request.new(attributes.merge(:action => "Admin", :type => "store", :admin => "recurringedit", :
|
67
|
+
request = Request.new(attributes.merge(:action => "Admin", :type => "store", :admin => "recurringedit", :username => Monetra::Configuration.user_name, :password => Monetra::Configuration.password))
|
68
68
|
body = Connection.post(Monetra::Parse.request(request))
|
69
69
|
body = Hash.from_xml(body)
|
70
70
|
transfer_status = body["MonetraResp"]["DataTransferStatus"]
|
@@ -78,7 +78,7 @@ module Monetra
|
|
78
78
|
end
|
79
79
|
|
80
80
|
def destroy(attributes={})
|
81
|
-
request = Request.new(attributes.merge(:action => "Admin", :type => "store", :admin => "recurringdel", :
|
81
|
+
request = Request.new(attributes.merge(:action => "Admin", :type => "store", :admin => "recurringdel", :username => Monetra::Configuration.user_name, :password => Monetra::Configuration.password))
|
82
82
|
body = Connection.post(Monetra::Parse.request(request))
|
83
83
|
body = Hash.from_xml(body)
|
84
84
|
transfer_status = body["MonetraResp"]["DataTransferStatus"]
|
data/monetra.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{monetra}
|
5
|
-
s.version = "0.0.2.
|
5
|
+
s.version = "0.0.2.3"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Dan Ahern"]
|
9
|
-
s.date = %q{2010-11-
|
9
|
+
s.date = %q{2010-11-18}
|
10
10
|
s.description = %q{A gem that uses the Monetra API to perform actions}
|
11
11
|
s.email = %q{gems@danahern.com}
|
12
12
|
s.extra_rdoc_files = ["lib/monetra.rb", "lib/monetra/configuration.rb", "lib/monetra/connection.rb", "lib/monetra/parse.rb", "lib/monetra/transaction.rb", "lib/monetra/transaction/admin.rb", "lib/monetra/transaction/engine.rb", "lib/monetra/transaction/token.rb", "lib/monetra/transaction/user.rb"]
|
metadata
CHANGED
@@ -6,8 +6,8 @@ version: !ruby/object:Gem::Version
|
|
6
6
|
- 0
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.0.2.
|
9
|
+
- 3
|
10
|
+
version: 0.0.2.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Dan Ahern
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-11-
|
18
|
+
date: 2010-11-18 00:00:00 -05:00
|
19
19
|
default_executable:
|
20
20
|
dependencies: []
|
21
21
|
|