Skip to content

Commit

Permalink
Merge branch 'master' of github.com:clayallsopp/remote_model
Browse files Browse the repository at this point in the history
  • Loading branch information
clayallsopp committed May 9, 2012
2 parents 7fe6710 + 74661c7 commit c19febb
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Expand Up @@ -85,9 +85,9 @@ Then add the lib paths to your ./Rakefile:
```ruby
Motion::Project::App.setup do |app|
...
app.files = Dir.glob(File.join(app.project_dir, 'vendor/BubbleWrap/lib/**/*.rb'))
+ Dir.glob(File.join(app.project_dir, 'vendor/remote_model/lib/**/*.rb'))
+ app.files
app.files = Dir.glob(File.join(app.project_dir, 'vendor/BubbleWrap/lib/**/*.rb')) +
Dir.glob(File.join(app.project_dir, 'vendor/remote_model/lib/**/*.rb')) +
app.files
...
end
```
Expand All @@ -103,6 +103,7 @@ module RemoteModule

# Options attached to every request
# Appendable per model subclass
# See BubbleWrap docs on what can be passed in BubbleWrap::HTTP.<method>(url, options)
self.default_url_options = {
:headers => {
"x-api-token" => "some_token",
Expand Down

0 comments on commit c19febb

Please sign in to comment.