Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

minor: whitespace

  • Loading branch information...
commit 6e30a056eaeba9d221a12b1b772ba40a2a9bf100 1 parent db3f641
@djwonk djwonk authored
Showing with 2 additions and 5 deletions.
  1. +1 −2  lib/builder.rb
  2. +0 −2  lib/resource.rb
  3. +1 −1  lib/sinatra_resource.rb
View
3  lib/builder.rb
@@ -9,8 +9,7 @@ class Builder
ITEMS_PER_PAGE = 20
def initialize(klass)
- @klass = klass
-
+ @klass = klass
@resource_config = @klass.resource_config
@child_assoc = @resource_config[:child_assoc]
@model = @resource_config[:model]
View
2  lib/resource.rb
@@ -271,11 +271,9 @@ def set_default_properties
if keys.include?("_id")
property :id, :w => :nobody
end
-
if keys.include?("created_at")
property :created_at, :w => :nobody
end
-
if keys.include?("updated_at")
property :updated_at, :w => :nobody
end
View
2  lib/sinatra_resource.rb
@@ -4,4 +4,4 @@
require base + '/builder'
Dir.glob(base + '/builder/*.rb').each { |f| require f }
require base + '/resource'
-require base + '/roles'
+require base + '/roles'
Please sign in to comment.
Something went wrong with that request. Please try again.