Skip to content

Commit

Permalink
Pass Chargify.configure{ fomat = :json } to ActiveResource
Browse files Browse the repository at this point in the history
  • Loading branch information
hedgehog committed Mar 29, 2012
1 parent 48d856c commit ec828e0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/chargify_api_ares/config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ def configure

self.site ||= "https://#{subdomain}.chargify.com"
Base.site = site
self.format ||= :xml
Base.format = format
end
end
end

0 comments on commit ec828e0

Please sign in to comment.