Class: ShortPixel::PostReducerResource

Inherits:
Resource
  • Object
show all
Defined in:
lib/shortpixel/resources/post_reducer.rb

Instance Attribute Summary

Attributes inherited from Resource

#client

Instance Method Summary collapse

Methods inherited from Resource

#initialize, #post_request

Constructor Details

This class inherits a constructor from ShortPixel::Resource

Instance Method Details

#call(**params) ⇒ Object



4
5
6
7
8
9
# File 'lib/shortpixel/resources/post_reducer.rb', line 4

def call(**params)
  raise "PostReducer not built yet. Reach out if this is a feature you need."
  # response = post_request('post-reducer.php')
  # body = extract_body(response)
  # PostReducer.new(body)
end