Module: Beanstream
- Defined in:
- lib/beanstream.rb,
lib/beanstream/util.rb,
lib/beanstream/exceptions.rb,
lib/beanstream/transaction.rb,
lib/beanstream/payments_api.rb,
lib/beanstream/profiles_api.rb,
lib/beanstream/reporting_api.rb
Defined Under Namespace
Modules: Util Classes: BeanstreamException, BusinessRuleException, Criteria, ForbiddenException, InternalServerException, InvalidRequestException, PaymentMethods, PaymentsAPI, ProfilesAPI, ReportingAPI, Transaction, UnauthorizedException
Class Attribute Summary collapse
-
.merchant_id ⇒ Object
Returns the value of attribute merchant_id.
-
.open_timeout ⇒ Object
Returns the value of attribute open_timeout.
-
.payments_api_key ⇒ Object
Returns the value of attribute payments_api_key.
-
.profiles_api_key ⇒ Object
Returns the value of attribute profiles_api_key.
-
.reporting_api_key ⇒ Object
Returns the value of attribute reporting_api_key.
-
.ssl_ca_cert ⇒ Object
Returns the value of attribute ssl_ca_cert.
-
.timeout ⇒ Object
Returns the value of attribute timeout.
-
.url_base ⇒ Object
Returns the value of attribute url_base.
-
.url_payments ⇒ Object
Returns the value of attribute url_payments.
-
.url_prefix ⇒ Object
Returns the value of attribute url_prefix.
-
.url_return ⇒ Object
Returns the value of attribute url_return.
-
.url_suffix ⇒ Object
Returns the value of attribute url_suffix.
-
.url_version ⇒ Object
Returns the value of attribute url_version.
-
.url_void ⇒ Object
Returns the value of attribute url_void.
Class Method Summary collapse
- .api_base_url ⇒ Object
- .api_host_url ⇒ Object
- .PaymentsAPI ⇒ Object
- .ProfilesAPI ⇒ Object
- .ReportingAPI ⇒ Object
Class Attribute Details
.merchant_id ⇒ Object
Returns the value of attribute merchant_id.
19 20 21 |
# File 'lib/beanstream.rb', line 19 def merchant_id @merchant_id end |
.open_timeout ⇒ Object
Returns the value of attribute open_timeout.
22 23 24 |
# File 'lib/beanstream.rb', line 22 def open_timeout @open_timeout end |
.payments_api_key ⇒ Object
Returns the value of attribute payments_api_key.
19 20 21 |
# File 'lib/beanstream.rb', line 19 def payments_api_key @payments_api_key end |
.profiles_api_key ⇒ Object
Returns the value of attribute profiles_api_key.
19 20 21 |
# File 'lib/beanstream.rb', line 19 def profiles_api_key @profiles_api_key end |
.reporting_api_key ⇒ Object
Returns the value of attribute reporting_api_key.
19 20 21 |
# File 'lib/beanstream.rb', line 19 def reporting_api_key @reporting_api_key end |
.ssl_ca_cert ⇒ Object
Returns the value of attribute ssl_ca_cert.
22 23 24 |
# File 'lib/beanstream.rb', line 22 def ssl_ca_cert @ssl_ca_cert end |
.timeout ⇒ Object
Returns the value of attribute timeout.
22 23 24 |
# File 'lib/beanstream.rb', line 22 def timeout @timeout end |
.url_base ⇒ Object
Returns the value of attribute url_base.
20 21 22 |
# File 'lib/beanstream.rb', line 20 def url_base @url_base end |
.url_payments ⇒ Object
Returns the value of attribute url_payments.
21 22 23 |
# File 'lib/beanstream.rb', line 21 def url_payments @url_payments end |
.url_prefix ⇒ Object
Returns the value of attribute url_prefix.
20 21 22 |
# File 'lib/beanstream.rb', line 20 def url_prefix @url_prefix end |
.url_return ⇒ Object
Returns the value of attribute url_return.
21 22 23 |
# File 'lib/beanstream.rb', line 21 def url_return @url_return end |
.url_suffix ⇒ Object
Returns the value of attribute url_suffix.
20 21 22 |
# File 'lib/beanstream.rb', line 20 def url_suffix @url_suffix end |
.url_version ⇒ Object
Returns the value of attribute url_version.
20 21 22 |
# File 'lib/beanstream.rb', line 20 def url_version @url_version end |
.url_void ⇒ Object
Returns the value of attribute url_void.
21 22 23 |
# File 'lib/beanstream.rb', line 21 def url_void @url_void end |
Class Method Details
.api_base_url ⇒ Object
29 30 31 |
# File 'lib/beanstream.rb', line 29 def self.api_base_url() "/#{url_suffix}/#{url_version}" end |
.api_host_url ⇒ Object
25 26 27 |
# File 'lib/beanstream.rb', line 25 def self.api_host_url() "https://#{@url_prefix}.#{url_base}" end |
.PaymentsAPI ⇒ Object
33 34 35 |
# File 'lib/beanstream.rb', line 33 def self.PaymentsAPI() Beanstream::PaymentsAPI.new() end |
.ProfilesAPI ⇒ Object
37 38 39 |
# File 'lib/beanstream.rb', line 37 def self.ProfilesAPI() Beanstream::ProfilesAPI.new() end |
.ReportingAPI ⇒ Object
41 42 43 |
# File 'lib/beanstream.rb', line 41 def self.ReportingAPI() Beanstream::ReportingAPI.new() end |