Class: GdsApi::LinkCheckerApi::LinkReport
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- GdsApi::LinkCheckerApi::LinkReport
- Defined in:
- lib/gds_api/link_checker_api.rb
Instance Method Summary collapse
Instance Method Details
#checked ⇒ Object
99 100 101 |
# File 'lib/gds_api/link_checker_api.rb', line 99 def checked Time.iso8601(self["checked"]) end |
#errors ⇒ Object
103 104 105 |
# File 'lib/gds_api/link_checker_api.rb', line 103 def errors self["errors"].each_with_object({}) { |(k, v), hash| hash[k.to_sym] = v } end |
#status ⇒ Object
95 96 97 |
# File 'lib/gds_api/link_checker_api.rb', line 95 def status self["status"].to_sym end |
#uri ⇒ Object
91 92 93 |
# File 'lib/gds_api/link_checker_api.rb', line 91 def uri self["uri"] end |
#warnings ⇒ Object
107 108 109 |
# File 'lib/gds_api/link_checker_api.rb', line 107 def warnings self["warnings"].each_with_object({}) { |(k, v), hash| hash[k.to_sym] = v } end |