Module: TrailerVote::Api::Composable::Common
- Included in:
- Issue::Create, Place::Create, Place::Lookup, Product::Create, Product::Image::Create, Product::Lookup, Product::Place::Link, Product::Update, Product::Video::Create
- Defined in:
- lib/trailer_vote/api/composable/common.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#call(**_opts) ⇒ Object
Execute the call (and all dependent calls).
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)
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 |