Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch 'master' of github.com:clayallsopp/remote_model

  • Loading branch information...
commit c19febb1cbc1ed2d6c7935c6746a611960f604c1 2 parents 7fe6710 + 74661c7
Clay Allsopp authored
Showing with 4 additions and 3 deletions.
  1. +4 −3 README.md
7 README.md
View
@@ -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
```
@@ -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",
Please sign in to comment.
Something went wrong with that request. Please try again.