Class: AudioFeedManager::Feed

Inherits:
Struct
  • Object
show all
Includes:
HashConstructor
Defined in:
lib/audio_feed_manager/feed.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from HashConstructor

#initialize

Instance Attribute Details

#descriptionObject

Returns the value of attribute description

Returns:

  • (Object)

    the current value of description



2
3
4
# File 'lib/audio_feed_manager/feed.rb', line 2

def description
  @description
end

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



2
3
4
# File 'lib/audio_feed_manager/feed.rb', line 2

def id
  @id
end

#secret_tokenObject

Returns the value of attribute secret_token

Returns:

  • (Object)

    the current value of secret_token



2
3
4
# File 'lib/audio_feed_manager/feed.rb', line 2

def secret_token
  @secret_token
end

#titleObject

Returns the value of attribute title

Returns:

  • (Object)

    the current value of title



2
3
4
# File 'lib/audio_feed_manager/feed.rb', line 2

def title
  @title
end

Instance Method Details

#bare_idObject



5
6
7
# File 'lib/audio_feed_manager/feed.rb', line 5

def bare_id
  id.gsub("feeds/", "")
end