Class: TinCanApi::RemoteLRS
- Inherits:
-
Object
- Object
- TinCanApi::RemoteLRS
- Includes:
- TCAPIVersion
- Defined in:
- lib/tin_can_api/remote_lrs.rb
Overview
Class used to communicate with a TCAPI endpoint synchronously
Constant Summary
Constants included from TCAPIVersion
TCAPIVersion::V095, TCAPIVersion::V100, TCAPIVersion::V101
Constants included from Enum
Instance Attribute Summary collapse
-
#end_point ⇒ Object
Returns the value of attribute end_point.
-
#password ⇒ Object
Returns the value of attribute password.
-
#user_name ⇒ Object
Returns the value of attribute user_name.
-
#version ⇒ Object
Returns the value of attribute version.
Instance Method Summary collapse
-
#initialize(version = V101) ⇒ RemoteLRS
constructor
A new instance of RemoteLRS.
Methods included from TCAPIVersion
Methods included from Enum
Constructor Details
#initialize(version = V101) ⇒ RemoteLRS
Returns a new instance of RemoteLRS.
10 11 12 |
# File 'lib/tin_can_api/remote_lrs.rb', line 10 def initialize(version=V101) @version = version end |
Instance Attribute Details
#end_point ⇒ Object
Returns the value of attribute end_point.
8 9 10 |
# File 'lib/tin_can_api/remote_lrs.rb', line 8 def end_point @end_point end |
#password ⇒ Object
Returns the value of attribute password.
8 9 10 |
# File 'lib/tin_can_api/remote_lrs.rb', line 8 def password @password end |
#user_name ⇒ Object
Returns the value of attribute user_name.
8 9 10 |
# File 'lib/tin_can_api/remote_lrs.rb', line 8 def user_name @user_name end |
#version ⇒ Object
Returns the value of attribute version.
8 9 10 |
# File 'lib/tin_can_api/remote_lrs.rb', line 8 def version @version end |