module Simplecast::Configurable
Attributes
api_key[RW]
podcast_id[RW]
Public Class Methods
keys()
click to toggle source
# File lib/simplecast/configurable.rb, line 5 def keys @keys ||= [ :api_key, :podcast_id ] end
Public Instance Methods
configure() { |self| ... }
click to toggle source
# File lib/simplecast/configurable.rb, line 12 def configure yield self end
options()
click to toggle source
# File lib/simplecast/configurable.rb, line 15 def options Hash[Simplecast::Configurable.keys.map{|key| [key, instance_variable_get(:"@#{key}")]}] end