class Trello::Configuration

Constants

CONFIG_ATTRIBUTES

Public Class Methods

new(attrs = {}) click to toggle source
# File lib/trello-lite/configuration.rb, line 12
def initialize(attrs = {})
  @attributes = attrs
end

Public Instance Methods

attributes=(attrs = {}) click to toggle source

this only works if you pass values through a block

# File lib/trello-lite/configuration.rb, line 17
def attributes=(attrs = {})
  attrs.each { |key, value| instance_variable_set("@#{key}", value) }
end