Class: Cloudflare::Firewall::Rule
Instance Method Summary
collapse
#process_response, #represent, #represent_message, #representation, #to_hash
Instance Method Details
#configuration ⇒ Object
37
38
39
|
# File 'lib/cloudflare/firewall.rb', line 37
def configuration
value[:configuration]
end
|
#mode ⇒ Object
29
30
31
|
# File 'lib/cloudflare/firewall.rb', line 29
def mode
value[:mode]
end
|
#notes ⇒ Object
33
34
35
|
# File 'lib/cloudflare/firewall.rb', line 33
def notes
value[:notes]
end
|
#to_s ⇒ Object
41
42
43
|
# File 'lib/cloudflare/firewall.rb', line 41
def to_s
"#{configuration[:value]} - #{mode} - #{notes}"
end
|