Class: Chemlab::Runtime::API::Client
- Inherits:
-
Object
- Object
- Chemlab::Runtime::API::Client
- Defined in:
- lib/chemlab/runtime/api_client.rb
Instance Attribute Summary collapse
-
#address ⇒ Object
readonly
Returns the value of attribute address.
-
#user ⇒ Object
readonly
Returns the value of attribute user.
Instance Method Summary collapse
-
#initialize(address = :gitlab, personal_access_token: nil, is_new_session: true, user: nil, ip_limits: false) ⇒ Client
constructor
A new instance of Client.
Constructor Details
#initialize(address = :gitlab, personal_access_token: nil, is_new_session: true, user: nil, ip_limits: false) ⇒ Client
Returns a new instance of Client.
11 12 13 14 |
# File 'lib/chemlab/runtime/api_client.rb', line 11 def initialize(address = :gitlab, personal_access_token: nil, is_new_session: true, user: nil, ip_limits: false) @address = address @user = user end |
Instance Attribute Details
#address ⇒ Object (readonly)
Returns the value of attribute address.
9 10 11 |
# File 'lib/chemlab/runtime/api_client.rb', line 9 def address @address end |
#user ⇒ Object (readonly)
Returns the value of attribute user.
9 10 11 |
# File 'lib/chemlab/runtime/api_client.rb', line 9 def user @user end |