Method: ActiveMerchant::PostsData.included

Defined in:
lib/active_merchant/posts_data.rb

.included(base) ⇒ Object



3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# File 'lib/active_merchant/posts_data.rb', line 3

def self.included(base)
  base.class_attribute :ssl_strict
  base.ssl_strict = true

  base.class_attribute :ssl_version
  base.ssl_version = nil

  base.class_attribute :min_version
  base.min_version = Connection::MIN_VERSION

  base.class_attribute :max_version
  base.max_version = nil

  base.class_attribute :retry_safe
  base.retry_safe = false

  base.class_attribute :open_timeout
  base.open_timeout = Connection::OPEN_TIMEOUT

  base.class_attribute :read_timeout
  base.read_timeout = Connection::READ_TIMEOUT

  base.class_attribute :max_retries
  base.max_retries = Connection::MAX_RETRIES

  base.class_attribute :logger
  base.class_attribute :wiredump_device

  base.class_attribute :proxy_address
  base.class_attribute :proxy_port
  base.class_attribute :proxy_user
  base.class_attribute :proxy_password
end