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

- (Object) authentication_scheme

Returns the value of attribute authentication_scheme



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

def authentication_scheme
  @authentication_scheme
end

- (Object) default_api_version

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

- (Object) environment

Returns the value of attribute environment



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

def environment
  @environment
end

- (Object) ip_address

only used if authentication_scheme is :ip_check



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

def ip_address
  @ip_address
end

- (Object) merchant_id

Returns the value of attribute merchant_id



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

def merchant_id
  @merchant_id
end

- (Object) wire_log_file

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

- (Object) wire_logger

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