Skip to content

Instantly share code, notes, and snippets.

@AndrewVos
Created October 23, 2012 15:54
Show Gist options
  • Save AndrewVos/3939620 to your computer and use it in GitHub Desktop.
Save AndrewVos/3939620 to your computer and use it in GitHub Desktop.
class OnDemandNavigationPromoItem
attr_reader :host, :path, :title, :description, :channel_name
def initialize params
@host = params[:host]
@path = params[:path]
@title = params[:title]
@description = params[:description]
@channel_name = params[:channel_name]
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment