Class: Lyra::ClientConfig

Inherits:
Object show all
Defined in:
lib/lyra/client_config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(access_key_id: String, secret_access_key: String, aws_region: String, environment: String) ⇒ ClientConfig

Returns a new instance of ClientConfig.



8
9
10
11
12
13
# File 'lib/lyra/client_config.rb', line 8

def initialize(access_key_id: String, secret_access_key: String, aws_region: String, environment: String)
  @access_key_id = access_key_id
  @secret_access_key = secret_access_key
  @aws_region = aws_region
  @environment = environment
end

Instance Attribute Details

#access_key_idObject (readonly)

Returns the value of attribute access_key_id.



3
4
5
# File 'lib/lyra/client_config.rb', line 3

def access_key_id
  @access_key_id
end

#aws_regionObject (readonly)

Returns the value of attribute aws_region.



5
6
7
# File 'lib/lyra/client_config.rb', line 5

def aws_region
  @aws_region
end

#environmentObject (readonly)

Returns the value of attribute environment.



6
7
8
# File 'lib/lyra/client_config.rb', line 6

def environment
  @environment
end

#secret_access_keyObject (readonly)

Returns the value of attribute secret_access_key.



4
5
6
# File 'lib/lyra/client_config.rb', line 4

def secret_access_key
  @secret_access_key
end