Class: OpConnect::APIRequest::Actor

Inherits:
Object
  • Object
show all
Defined in:
lib/op_connect/api_request/actor.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ Actor

Returns a new instance of Actor.



6
7
8
9
10
11
12
# File 'lib/op_connect/api_request/actor.rb', line 6

def initialize(options = {})
  @id = options["id"]
  @account = options["account"]
  @jti = options["jti"]
  @user_agent = options["user_agent"]
  @ip = options["ip"]
end

Instance Attribute Details

#accountObject (readonly)

Returns the value of attribute account.



4
5
6
# File 'lib/op_connect/api_request/actor.rb', line 4

def 
  @account
end

#idObject (readonly)

Returns the value of attribute id.



4
5
6
# File 'lib/op_connect/api_request/actor.rb', line 4

def id
  @id
end

#ipObject (readonly)

Returns the value of attribute ip.



4
5
6
# File 'lib/op_connect/api_request/actor.rb', line 4

def ip
  @ip
end

#jtiObject (readonly)

Returns the value of attribute jti.



4
5
6
# File 'lib/op_connect/api_request/actor.rb', line 4

def jti
  @jti
end

#user_agentObject (readonly)

Returns the value of attribute user_agent.



4
5
6
# File 'lib/op_connect/api_request/actor.rb', line 4

def user_agent
  @user_agent
end