Class: Traptcha::WaveImage

Inherits:
Image
  • Object
show all
Defined in:
lib/traptcha/wave_image.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from Image

#initialize, #output, #save

Constructor Details

This class inherits a constructor from Traptcha::Image

Instance Attribute Details

#amplitudeObject

Returns the value of attribute amplitude.



3
4
5
# File 'lib/traptcha/wave_image.rb', line 3

def amplitude
  @amplitude
end

#variationObject

Returns the value of attribute variation.



3
4
5
# File 'lib/traptcha/wave_image.rb', line 3

def variation
  @variation
end