Sha256: 102f66b4728937b026e1387f3272715bcce201218a6c9cb93abcf5b9416fe921

Contents?: true

Size: 235 Bytes

Versions: 9

Compression:

Stored size: 235 Bytes

Contents

module RealSavvy::Concern::ComplexShowForAdapter
  def show(complex_id: nil, feed: nil, key: nil)
    feed, key = complex_id.split('~') if complex_id && feed.nil? && key.nil?
    get("./api/v3/#{path_prefix}/#{feed}/#{key}")
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
real_savvy-0.0.12 lib/real_savvy/concern/complex_show_for_adapter.rb
real_savvy-0.0.10 lib/real_savvy/concern/complex_show_for_adapter.rb
real_savvy-0.0.9 lib/real_savvy/concern/complex_show_for_adapter.rb
real_savvy-0.0.8 lib/real_savvy/concern/complex_show_for_adapter.rb
real_savvy-0.0.7 lib/real_savvy/concern/complex_show_for_adapter.rb
real_savvy-0.0.6 lib/real_savvy/concern/complex_show_for_adapter.rb
real_savvy-0.0.5 lib/real_savvy/concern/complex_show_for_adapter.rb
real_savvy-0.0.4 lib/real_savvy/concern/complex_show_for_adapter.rb
real_savvy-0.0.3 lib/real_savvy/concern/complex_show_for_adapter.rb