Module: GlobalCollect
- Extended by:
- GlobalCollect
- Included in:
- GlobalCollect
- Defined in:
- lib/global_collect.rb,
lib/global_collect.rb,
lib/global_collect/api_client.rb,
lib/global_collect/field_validator.rb
Defined Under Namespace
Modules: Builders, Const, RequestModels, Requests, Responses Classes: ApiClient, FieldValidator
Instance Attribute Summary collapse
-
#authentication_scheme ⇒ Object
Returns the value of attribute authentication_scheme.
-
#default_api_version ⇒ Object
Returns the value of attribute default_api_version.
-
#environment ⇒ Object
Returns the value of attribute environment.
-
#ip_address ⇒ Object
only used if authentication_scheme is :ip_check.
-
#merchant_id ⇒ Object
Returns the value of attribute merchant_id.
-
#wire_log_file ⇒ Object
Returns the value of attribute wire_log_file.
-
#wire_logger ⇒ Object
Returns the value of attribute wire_logger.
Instance Method Summary collapse
Instance Attribute Details
#authentication_scheme ⇒ Object
Returns the value of attribute authentication_scheme.
61 62 63 |
# File 'lib/global_collect.rb', line 61 def authentication_scheme @authentication_scheme end |
#default_api_version ⇒ Object
Returns the value of attribute default_api_version.
64 65 66 |
# File 'lib/global_collect.rb', line 64 def default_api_version @default_api_version end |
#environment ⇒ Object
Returns the value of attribute environment.
63 64 65 |
# File 'lib/global_collect.rb', line 63 def environment @environment end |
#ip_address ⇒ Object
only used if authentication_scheme is :ip_check
62 63 64 |
# File 'lib/global_collect.rb', line 62 def ip_address @ip_address end |
#merchant_id ⇒ Object
Returns the value of attribute merchant_id.
60 61 62 |
# File 'lib/global_collect.rb', line 60 def merchant_id @merchant_id end |
#wire_log_file ⇒ Object
Returns the value of attribute wire_log_file.
65 66 67 |
# File 'lib/global_collect.rb', line 65 def wire_log_file @wire_log_file end |
#wire_logger ⇒ Object
Returns the value of attribute wire_logger.
66 67 68 |
# File 'lib/global_collect.rb', line 66 def wire_logger @wire_logger end |
Instance Method Details
#merchant_link_client ⇒ Object
68 69 70 |
# File 'lib/global_collect.rb', line 68 def merchant_link_client GlobalCollect::ApiClient.new(:merchant_link, environment, authentication_scheme) end |