Skip to content

Commit 4ba8b84

Browse files
committed
Use more ruby like syntax for initialize method
1 parent 8e3e74e commit 4ba8b84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/zero_push/client.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ class Client
77
attr_accessor :auth_token
88

99
def initialize(auth_token)
10-
self.auth_token = auth_token
10+
@auth_token = auth_token
1111
end
1212

1313
# verifies credentials

0 commit comments

Comments
 (0)