RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: tonydaly
Site: tonyda.ly
Put this at the top of your model which inherits from ActiveResource
ActiveResource
@headers = { 'Authorization' => "Token token=\"#{ENV['API_KEY']}\"" }
Put this at the top of your model which inherits from
ActiveResource