Module: TrailerVote::Api::Composable::Common

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(base) ⇒ Object



8
9
10
11
12
13
14
# File 'lib/trailer_vote/api/composable/common.rb', line 8

def self.included(base)
  base.class_eval do
    private

    attr_accessor :configuration
  end
end

Instance Method Details

#call(**_opts) ⇒ Object

Execute the call (and all dependent calls)

See Also:

  • #forward_klazz
  • #redirect_klazz


20
21
22
# File 'lib/trailer_vote/api/composable/common.rb', line 20

def call(**_opts)
  raise format('Missing implementation of #args in %<name>s', self.class.name)
end