Class: GeoCerts::Collection

Inherits:
Array
  • Object
show all
Defined in:
lib/geo_certs/collection.rb

Overview

A GeoCerts::Collection is used whenever a collection of GeoCerts objects is returned from this library. It adds the additional attributes of end_at and start_at, representing the DateTime range from which the collection contains data.

Instance Attribute Summary (collapse)

Instance Attribute Details

- (Object) end_at

Returns the value of attribute end_at



9
10
11
# File 'lib/geo_certs/collection.rb', line 9

def end_at
  @end_at
end

- (Object) start_at

Returns the value of attribute start_at



9
10
11
# File 'lib/geo_certs/collection.rb', line 9

def start_at
  @start_at
end