Method: Orcid::Remote::Service#initialize

Defined in:
app/services/orcid/remote/service.rb

#initialize {|@callbacks| ... } ⇒ Service

Returns a new instance of Service.

Yields:

  • (@callbacks)


7
8
9
10
# File 'app/services/orcid/remote/service.rb', line 7

def initialize
  @callbacks = Orcid::NamedCallbacks.new
  yield(@callbacks) if block_given?
end