lib/pushbullet/client.rb in pushbullet_client-0.0.2 vs lib/pushbullet/client.rb in pushbullet_client-0.0.3
- old
+ new
@@ -21,10 +21,10 @@
# TODO: Date parsing
# TODO: Create api client creation library
attr_reader :key, :secret, :base_path, :port
- def initialize(access_token:, base_path: 'https://api.pushbullet.com/v2', port: 80)
+ def initialize(access_token:, base_path: API_V2_BASE_PATH, port: 80)
@access_token = access_token
@base_path = base_path
@port = port
end