lib/dexby/connection.rb in dexby-0.0.1 vs lib/dexby/connection.rb in dexby-0.1.0
- old
+ new
@@ -26,10 +26,10 @@
def self.login(user, pass)
response = self.post(LOGIN_ENDPOINT, body: login_body(user, pass).to_json)
[response.body.tr('"',''), response.code]
end
- def self.read(session_id, minutes=1440, count=1)
+ def self.read(session_id, minutes, count)
response = self.post(READ_ENDPOINT, query: read_query(session_id, minutes, count))
[response.parsed_response, response.code]
end
end