Skip to content

Commit 1ca9e01

Browse files
committed
Use more ruby like syntax for initialize method
1 parent 8b1b62a commit 1ca9e01

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/zero_push/client.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ class Client
88
attr_accessor :auth_token
99

1010
def initialize(auth_token)
11-
self.auth_token = auth_token
11+
@auth_token = auth_token
12+
1213
self.extend(Compatibility)
1314
end
1415

0 commit comments

Comments
 (0)