blob: 253904788e3549b04414a5f19c2e4492ab4921c6 (
plain)
1
2
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
|
# frozen_string_literal: true
module QA
module Page
module Admin
module Settings
class Network < Page::Base
include QA::Page::Settings::Common
view 'app/views/admin/application_settings/network.html.haml' do
element :ip_limits_content
element :outbound_requests_content
end
def expand_ip_limits(&block)
expand_content(:ip_limits_content) do
Component::IpLimits.perform(&block)
end
end
def expand_outbound_requests(&block)
expand_content(:outbound_requests_content) do
Component::OutboundRequests.perform(&block)
end
end
end
end
end
end
end
|