Class: GdsApi::LinkCheckerApi::BatchReport
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- GdsApi::LinkCheckerApi::BatchReport
- Defined in:
- lib/gds_api/link_checker_api.rb
Instance Method Summary collapse
Instance Method Details
#completed_at ⇒ Object
129 130 131 |
# File 'lib/gds_api/link_checker_api.rb', line 129 def completed_at Time.iso8601(self["completed_at"]) end |
#id ⇒ Object
113 114 115 |
# File 'lib/gds_api/link_checker_api.rb', line 113 def id self["id"] end |
#links ⇒ Object
121 122 123 |
# File 'lib/gds_api/link_checker_api.rb', line 121 def links self["links"].map { |link_report| LinkReport.new(link_report) } end |
#status ⇒ Object
117 118 119 |
# File 'lib/gds_api/link_checker_api.rb', line 117 def status self["status"].to_sym end |
#totals ⇒ Object
125 126 127 |
# File 'lib/gds_api/link_checker_api.rb', line 125 def totals OpenStruct.new(self["totals"]) end |