Class: NetologyGroup::TasksClient::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/netology_group/tasks_client/config.rb

Class Attribute Summary collapse

Class Attribute Details

.api_versionsObject



10
11
12
# File 'lib/netology_group/tasks_client/config.rb', line 10

def api_versions
  @api_versions || [1]
end

.client_nameObject

Returns the value of attribute client_name.



6
7
8
# File 'lib/netology_group/tasks_client/config.rb', line 6

def client_name
  @client_name
end

.default_api_versionObject



14
15
16
# File 'lib/netology_group/tasks_client/config.rb', line 14

def default_api_version
  @default_api_version || 1
end

.endpointObject

Returns the value of attribute endpoint.



5
6
7
# File 'lib/netology_group/tasks_client/config.rb', line 5

def endpoint
  @endpoint
end