Class: SourceMonitor::Dashboard::UpcomingFetchSchedule::Group

Inherits:
Struct
  • Object
show all
Defined in:
lib/source_monitor/dashboard/upcoming_fetch_schedule.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#has_next_pageObject

Returns the value of attribute has_next_page

Returns:

  • (Object)

    the current value of has_next_page



8
9
10
# File 'lib/source_monitor/dashboard/upcoming_fetch_schedule.rb', line 8

def has_next_page
  @has_next_page
end

#has_previous_pageObject

Returns the value of attribute has_previous_page

Returns:

  • (Object)

    the current value of has_previous_page



8
9
10
# File 'lib/source_monitor/dashboard/upcoming_fetch_schedule.rb', line 8

def has_previous_page
  @has_previous_page
end

#include_unscheduledObject

Returns the value of attribute include_unscheduled

Returns:

  • (Object)

    the current value of include_unscheduled



8
9
10
# File 'lib/source_monitor/dashboard/upcoming_fetch_schedule.rb', line 8

def include_unscheduled
  @include_unscheduled
end

#keyObject

Returns the value of attribute key

Returns:

  • (Object)

    the current value of key



8
9
10
# File 'lib/source_monitor/dashboard/upcoming_fetch_schedule.rb', line 8

def key
  @key
end

#labelObject

Returns the value of attribute label

Returns:

  • (Object)

    the current value of label



8
9
10
# File 'lib/source_monitor/dashboard/upcoming_fetch_schedule.rb', line 8

def label
  @label
end

#max_minutesObject

Returns the value of attribute max_minutes

Returns:

  • (Object)

    the current value of max_minutes



8
9
10
# File 'lib/source_monitor/dashboard/upcoming_fetch_schedule.rb', line 8

def max_minutes
  @max_minutes
end

#min_minutesObject

Returns the value of attribute min_minutes

Returns:

  • (Object)

    the current value of min_minutes



8
9
10
# File 'lib/source_monitor/dashboard/upcoming_fetch_schedule.rb', line 8

def min_minutes
  @min_minutes
end

#pageObject

Returns the value of attribute page

Returns:

  • (Object)

    the current value of page



8
9
10
# File 'lib/source_monitor/dashboard/upcoming_fetch_schedule.rb', line 8

def page
  @page
end

#sourcesObject

Returns the value of attribute sources

Returns:

  • (Object)

    the current value of sources



8
9
10
# File 'lib/source_monitor/dashboard/upcoming_fetch_schedule.rb', line 8

def sources
  @sources
end

#window_endObject

Returns the value of attribute window_end

Returns:

  • (Object)

    the current value of window_end



8
9
10
# File 'lib/source_monitor/dashboard/upcoming_fetch_schedule.rb', line 8

def window_end
  @window_end
end

#window_startObject

Returns the value of attribute window_start

Returns:

  • (Object)

    the current value of window_start



8
9
10
# File 'lib/source_monitor/dashboard/upcoming_fetch_schedule.rb', line 8

def window_start
  @window_start
end

Instance Method Details

#empty?Boolean

Returns:

  • (Boolean)


22
23
24
# File 'lib/source_monitor/dashboard/upcoming_fetch_schedule.rb', line 22

def empty?
  sources.blank?
end