Class: Captchatrader::API::Submission

Inherits:
Struct
  • Object
show all
Defined in:
lib/captchatrader/submission.rb

Overview

Holds responses for captcha submissions

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#imageObject

Returns the value of attribute image

Returns:

  • (Object)

    the current value of image



5
6
7
# File 'lib/captchatrader/submission.rb', line 5

def image
  @image
end

#ticketObject

Returns the value of attribute ticket

Returns:

  • (Object)

    the current value of ticket



5
6
7
# File 'lib/captchatrader/submission.rb', line 5

def ticket
  @ticket
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



5
6
7
# File 'lib/captchatrader/submission.rb', line 5

def value
  @value
end

Instance Method Details

#to_sObject



6
7
8
# File 'lib/captchatrader/submission.rb', line 6

def to_s
  value
end