Class: Dtn::Lookups::News::Base

Inherits:
Request
  • Object
show all
Includes:
Concerns::Validation
Defined in:
lib/dtn/lookups/news/base.rb

Overview

User news requests

Direct Known Subclasses

Config, Headline, Story, StoryCount

Defined Under Namespace

Classes: DateRangeValidator

Constant Summary collapse

DEFAULT_NEWS_FORMAT_TYPE =
"t"

Constants included from Concerns::Validation

Concerns::Validation::DATE_FORMAT, Concerns::Validation::DATE_TIME_FORMAT, Concerns::Validation::DEFAULT_INTERVAL_TYPE, Concerns::Validation::MAX_INT16

Constants inherited from Request

Request::END_OF_MESSAGE_CHARACTERS, Request::NO_DATA_CHARACTERS, Request::PORT, Request::SYNTAX_ERROR_CHARACTERS

Instance Attribute Summary

Attributes inherited from Request

#combined_options

Method Summary

Methods inherited from Request

call, #call

Methods included from Concerns::Id

#id