Class: Boechat::Core::Service::Verifier

Inherits:
Object
  • Object
show all
Defined in:
lib/boechat/core/service/verifier.rb

Overview

Class responsible for call the endpoints and return all the results

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeVerifier

Returns a new instance of Verifier.



16
17
18
19
# File 'lib/boechat/core/service/verifier.rb', line 16

def initialize
  @config = ConfigReader.new.call.config
  build_request_list
end

Instance Attribute Details

#configObject (readonly)

Returns the value of attribute config.



14
15
16
# File 'lib/boechat/core/service/verifier.rb', line 14

def config
  @config
end

#request_listObject (readonly)

Returns the value of attribute request_list.



14
15
16
# File 'lib/boechat/core/service/verifier.rb', line 14

def request_list
  @request_list
end

Instance Method Details

#call(service = nil) ⇒ Object



21
22
23
# File 'lib/boechat/core/service/verifier.rb', line 21

def call(service = nil)
  @request_list.call(service)
end