Class: AuthenticatedToken

Inherits:
Object
  • Object
show all
Defined in:
lib/crowd/default.rb

Overview

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, token = nil) ⇒ AuthenticatedToken

Returns a new instance of AuthenticatedToken.



8
9
10
11
# File 'lib/crowd/default.rb', line 8

def initialize(name = nil, token = nil)
  @name = name
  @token = token
end

Instance Attribute Details

#nameObject

Returns the value of attribute name.



5
6
7
# File 'lib/crowd/default.rb', line 5

def name
  @name
end

#tokenObject

Returns the value of attribute token.



6
7
8
# File 'lib/crowd/default.rb', line 6

def token
  @token
end