Class: Eaternet::Lives_1_0::FeedInfo

Inherits:
ValidatedObject show all
Defined in:
lib/eaternet/lives_1_0.rb

Overview

Constant Summary collapse

EMAIL_REGEX =
/\A([^@\s]+)@((?:[-a-z0-9]+\.)+[a-z]{2,})\z/i
URL_REGEX =
%r{\Ahttps?:/}

Instance Attribute Summary collapse

Method Summary

Methods inherited from ValidatedObject

#initialize

Constructor Details

This class inherits a constructor from Eaternet::Lives_1_0::ValidatedObject

Instance Attribute Details

#contact_emailObject

Returns the value of attribute contact_email


163
164
165
# File 'lib/eaternet/lives_1_0.rb', line 163

def contact_email
  @contact_email
end

#feed_dateObject

Returns the value of attribute feed_date


163
164
165
# File 'lib/eaternet/lives_1_0.rb', line 163

def feed_date
  @feed_date
end

#feed_versionObject

Returns the value of attribute feed_version


163
164
165
# File 'lib/eaternet/lives_1_0.rb', line 163

def feed_version
  @feed_version
end

#municipality_nameObject

Returns the value of attribute municipality_name


163
164
165
# File 'lib/eaternet/lives_1_0.rb', line 163

def municipality_name
  @municipality_name
end

#municipality_urlObject

Returns the value of attribute municipality_url


163
164
165
# File 'lib/eaternet/lives_1_0.rb', line 163

def municipality_url
  @municipality_url
end