Class: Pdf4me::Image
Constant Summary collapse
- ATTRIBUTES =
{ image_data: 'String', image_type: 'String', rectangle: 'Rectangle', file_name: 'String', compression: 'String', rotate: 'Rotate', translate: 'Translate', transform: 'Transform' }
Instance Method Summary collapse
Methods inherited from Base
Methods included from Serializer
#_deserialize, #from_hash, #from_response
Methods included from Assigner
Constructor Details
This class inherits a constructor from Pdf4me::Base
Instance Method Details
#defaults ⇒ Object
22 23 24 25 26 |
# File 'lib/pdf4me/models/image.rb', line 22 def defaults { compression: 'flate' } end |
#inspect ⇒ Object
18 19 20 |
# File 'lib/pdf4me/models/image.rb', line 18 def inspect "#<#{self.class}:0x#{object_id.to_s(16)}>" end |