Permalink
Browse files

Descending levels of abstraction.

  • Loading branch information...
1 parent eb731fe commit 4d49df31dc0e8bc9b0fe52b82d97ef80b4f82da6 @gabebw committed Feb 7, 2012
Showing with 5 additions and 5 deletions.
  1. +5 −5 app.rb
View
10 app.rb
@@ -20,14 +20,14 @@
private
+def all_corgis
+ connect_to_s3
+ Bucket.objects('Corgi')
+end
+
def connect_to_s3
Base.establish_connection!(
:access_key_id => '',
:secret_access_key => ''
)
end
-
-def all_corgis
- connect_to_s3
- Bucket.objects('Corgi')
-end

0 comments on commit 4d49df3

Please sign in to comment.