Class: OpConnect::APIRequest::Actor
- Inherits:
-
Object
- Object
- OpConnect::APIRequest::Actor
- Defined in:
- lib/op_connect/api_request/actor.rb
Instance Attribute Summary collapse
-
#account ⇒ Object
readonly
Returns the value of attribute account.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#ip ⇒ Object
readonly
Returns the value of attribute ip.
-
#jti ⇒ Object
readonly
Returns the value of attribute jti.
-
#user_agent ⇒ Object
readonly
Returns the value of attribute user_agent.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Actor
constructor
A new instance of Actor.
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( = {}) @id = ["id"] @account = ["account"] @jti = ["jti"] @user_agent = ["user_agent"] @ip = ["ip"] end |
Instance Attribute Details
#account ⇒ Object (readonly)
Returns the value of attribute account.
4 5 6 |
# File 'lib/op_connect/api_request/actor.rb', line 4 def account @account end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
4 5 6 |
# File 'lib/op_connect/api_request/actor.rb', line 4 def id @id end |
#ip ⇒ Object (readonly)
Returns the value of attribute ip.
4 5 6 |
# File 'lib/op_connect/api_request/actor.rb', line 4 def ip @ip end |
#jti ⇒ Object (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_agent ⇒ Object (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 |