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

Instance Method Summary collapse

Instance Attribute Details

#authentication_schemeObject

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_versionObject

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

#environmentObject

Returns the value of attribute environment.



63
64
65
# File 'lib/global_collect.rb', line 63

def environment
  @environment
end

#ip_addressObject

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_idObject

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_fileObject

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_loggerObject

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



68
69
70
# File 'lib/global_collect.rb', line 68

def merchant_link_client
  GlobalCollect::ApiClient.new(:merchant_link, environment, authentication_scheme)
end