Skip to content
This repository was archived by the owner on Oct 7, 2022. It is now read-only.

Commit 4360f8b

Browse files
author
Andrej Jančič
committed
style fixes
1 parent 08a18cc commit 4360f8b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/creatubbles/base_collection.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ def find(id)
1818
Creatubbles.instantiate_object_from_response(res, @connection)
1919
end
2020

21-
def init_objects response
21+
def init_objects(response)
2222
Creatubbles.instantiate_objects_from_response(response, @connection)
2323
end
2424

25-
def handle_params params_hash={}, allowed_params=['query','filter']
25+
def handle_params(params_hash={}, allowed_params=['query','filter'])
2626
params_hash.stringify_keys!.slice!(allowed_params).to_param
2727
end
2828

lib/creatubbles/base_object.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def reload
6666
self
6767
end
6868

69-
def init_objects response
69+
def init_objects(response)
7070
Creatubbles.instantiate_objects_from_response(response, @connection)
7171
end
7272
end

0 commit comments

Comments
 (0)