Class: CfnEvents::Client
- Inherits:
-
Object
- Object
- CfnEvents::Client
- Defined in:
- lib/cfn-events/client.rb
Class Method Summary collapse
Class Method Details
.configure ⇒ Object
5 6 7 |
# File 'lib/cfn-events/client.rb', line 5 def self.configure Aws.config.merge! end |
.core_v2_options ⇒ Object
9 10 11 12 13 14 15 |
# File 'lib/cfn-events/client.rb', line 9 def self. { http_proxy: get_proxy, user_agent_suffix: "cfn-events #{VERSION}", # http_wire_trace: true, } end |
.get_proxy ⇒ Object
17 18 19 20 21 |
# File 'lib/cfn-events/client.rb', line 17 def self.get_proxy e = ENV['https_proxy'] e = "https://#{e}" if e && !e.empty? && !e.start_with?('http') return e end |