lib/zenvia/config.rb in zenvia-rb-0.0.4 vs lib/zenvia/config.rb in zenvia-rb-0.0.5

- old
+ new

@@ -1,20 +1,20 @@ require 'base64' -class Zenvia - module Config - attr_accessor :account, :code +module Zenvia + class Config + attr_accessor :account, :code, :name def self.account; @account; end def self.account=(account); @account = account; end def self.code=(code); @code = code; end def self.code; @code; end - def self.name=(name); @name = name; end + def self.from=(from); @from = from; end - def self.name; @name; end + def self.from; @from; end private def self.auth; Base64.encode64("#{@account}:#{@code}").strip; end end end