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, LogParsing, 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



87
88
89
# File 'lib/global_collect.rb', line 87

def authentication_scheme
  @authentication_scheme
end

#default_api_versionObject

Returns the value of attribute default_api_version



90
91
92
# File 'lib/global_collect.rb', line 90

def default_api_version
  @default_api_version
end

#environmentObject

Returns the value of attribute environment



89
90
91
# File 'lib/global_collect.rb', line 89

def environment
  @environment
end

#ip_addressObject

only used if authentication_scheme is :ip_check



88
89
90
# File 'lib/global_collect.rb', line 88

def ip_address
  @ip_address
end

#merchant_idObject

Returns the value of attribute merchant_id



86
87
88
# File 'lib/global_collect.rb', line 86

def merchant_id
  @merchant_id
end

#wire_log_fileObject

Returns the value of attribute wire_log_file



91
92
93
# File 'lib/global_collect.rb', line 91

def wire_log_file
  @wire_log_file
end

#wire_loggerObject

Returns the value of attribute wire_logger



92
93
94
# File 'lib/global_collect.rb', line 92

def wire_logger
  @wire_logger
end

Instance Method Details



94
95
96
# File 'lib/global_collect.rb', line 94

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