Skip to content

Commit

Permalink
fixed problem with missing domain key in Mailgun options.
Browse files Browse the repository at this point in the history
  • Loading branch information
mirzac committed Aug 28, 2013
1 parent 26a9287 commit dbeb8b9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/mailgun.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,6 @@

def Mailgun(options={})
options[:api_key] = Mailgun.api_key if Mailgun.api_key
options[:domain] = Mailgun.domain if Mailgun.domain
Mailgun::Base.new(options)
end

0 comments on commit dbeb8b9

Please sign in to comment.