activemerchant-paymentech-orbital 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.2
1
+ 0.2.3
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{activemerchant-paymentech-orbital}
8
- s.version = "0.2.2"
8
+ s.version = "0.2.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["John Corrigan"]
12
- s.date = %q{2010-06-21}
12
+ s.date = %q{2010-07-15}
13
13
  s.description = %q{A gem to provide a ruby interface for Chase Paymentech Orbital payment gateway. It has been development thus far to meet specific ends, so not all functionality is present.}
14
14
  s.email = %q{john@mintdigital.com}
15
15
  s.extra_rdoc_files = [
@@ -5,9 +5,9 @@ module ActiveMerchant
5
5
  cattr_accessor :elements
6
6
  attr_reader :doc, :request_type
7
7
 
8
- self.elements = [
8
+ self.elements = [
9
9
  :industry_type, :message_type, :merchant_id,
10
- :terminal_id, :card_brand, :account_num,
10
+ :terminal_id, :card_brand, :account_num,
11
11
  :order_id, :tx_ref_num, :tx_ref_idx, :proc_status,
12
12
  :approval_status, :resp_code, :AVSRespCode,
13
13
  :CVV2RespCode, :auth_code, :status_msg, :resp_msg,
@@ -17,9 +17,9 @@ module ActiveMerchant
17
17
  :customer_city, :CustomerZIP, :customer_state,
18
18
  :CCExpireDate, :MBRecurringNoEndDateFlag,
19
19
  :MBCancelDate, :MBType, :MBOrderIdGenerationMethod,
20
- :MBRecurringStartDate, :MBRecurringFrequency,
20
+ :MBRecurringStartDate, :MBRecurringFrequency,
21
21
  :MBRecurringEndDate, :MBRecurringMaxBillings,
22
- :MBRemoveFlag
22
+ :MBRemoveFlag, :order_default_amount
23
23
  ]
24
24
 
25
25
  def initialize(doc, request_type, options={})
@@ -84,31 +84,31 @@ module ActiveMerchant
84
84
  def mb_recurring_no_end_date_flag
85
85
  send(:MBRecurringNoEndDateFlag)
86
86
  end
87
-
87
+
88
88
  def mb_type
89
89
  send(:MBType)
90
90
  end
91
-
91
+
92
92
  def mb_order_id_generation_method
93
93
  send(:MBOrderIdGenerationMethod)
94
94
  end
95
-
95
+
96
96
  def mb_recurring_start_date
97
97
  send(:MBRecurringStartDate)
98
98
  end
99
-
99
+
100
100
  def mb_recurring_frequency
101
101
  send(:MBRecurringFrequency)
102
102
  end
103
-
103
+
104
104
  def mb_recurring_end_date
105
105
  send(:MBRecurringEndDate)
106
106
  end
107
-
107
+
108
108
  def mb_recurring_max_billings
109
109
  send(:MBRecurringMaxBillings)
110
110
  end
111
-
111
+
112
112
  def mb_remove_flag
113
113
  send(:MBRemoveFlag)
114
114
  end
@@ -120,7 +120,7 @@ module ActiveMerchant
120
120
  end
121
121
  @_xml
122
122
  end
123
-
123
+
124
124
  def to_a
125
125
  [ auth_code, avs_resp_code, cvv2_resp_code, tx_ref_num,
126
126
  customer_ref_num, profile_proc_status ]
@@ -128,10 +128,10 @@ module ActiveMerchant
128
128
 
129
129
  private
130
130
  def tagify(s)
131
- s.to_s.gsub(/\/(.?)/) {
132
- "::#{$1.upcase}"
133
- }.gsub(/(?:^|_)(.)/) {
134
- $1.upcase
131
+ s.to_s.gsub(/\/(.?)/) {
132
+ "::#{$1.upcase}"
133
+ }.gsub(/(?:^|_)(.)/) {
134
+ $1.upcase
135
135
  }
136
136
  end
137
137
 
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 2
8
- - 2
9
- version: 0.2.2
8
+ - 3
9
+ version: 0.2.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - John Corrigan
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-06-21 00:00:00 -04:00
17
+ date: 2010-07-15 00:00:00 -04:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency