Sha256: c5e84417b5f67018e02f592bfc9fbc4d8c2e3ad9dbce06d67ef35f924f7ba23e

Contents?: true

Size: 322 Bytes

Versions: 7

Compression:

Stored size: 322 Bytes

Contents

class AuthenticationResponse
  attr_accessor :request_token, :success

  def initialize
    self.request_token = "641bf16c663db167c6cffcdff41126039d4445bf"
    self.success = true
  end

  def to_hash
    {
      request_token: request_token,
      success: success
    }
  end

  def to_json
    to_hash.to_json
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
enceladus-0.0.8 spec/support/responses/authentication_response.rb
enceladus-0.0.7 spec/support/responses/authentication_response.rb
enceladus-0.0.6 spec/support/responses/authentication_response.rb
enceladus-0.0.5 spec/support/responses/authentication_response.rb
enceladus-0.0.4 spec/support/responses/authentication_response.rb
enceladus-0.0.3 spec/support/responses/authentication_response.rb
enceladus-0.0.2 spec/support/responses/authentication_response.rb