Sha256: f73b19fa40b510468b9b4eeda74b17b47cc59daf56c045f6f8898296002f8df3

Contents?: true

Size: 415 Bytes

Versions: 7

Compression:

Stored size: 415 Bytes

Contents

class GuestAccountResponse
  attr_accessor :guest_session_id, :success, :expires_at

  def initialize
    self.guest_session_id = "0c550fd5da2fc3f321ab3bs9b60ca108"
    self.success = true
    self.expires_at = "2012-12-04 22:51:19 UTC"
  end

  def to_hash
    {
      success: success,
      guest_session_id: guest_session_id,
      expires_at: expires_at
    }
  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/guest_account_response.rb
enceladus-0.0.7 spec/support/responses/guest_account_response.rb
enceladus-0.0.6 spec/support/responses/guest_account_response.rb
enceladus-0.0.5 spec/support/responses/guest_account_response.rb
enceladus-0.0.4 spec/support/responses/guest_account_response.rb
enceladus-0.0.3 spec/support/responses/guest_account_response.rb
enceladus-0.0.2 spec/support/responses/guest_account_response.rb