Skip to content

Commit

Permalink
allow us to start refreshes i guess
Browse files Browse the repository at this point in the history
  • Loading branch information
pzhang committed Feb 8, 2012
1 parent e123a42 commit 192b62b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions lib/halberd.rb
Expand Up @@ -630,8 +630,8 @@ def get_mfa_response(item_id)
end
end

def start_refresh
@refresh_response = refresh_client.request :lines, :start_refresh do
def start_refresh1(force = false)
@refresh_response = refresh_client.request :lines, :start_refresh1 do
soap.element_form_default = :unqualified
soap.namespaces['xmlns:collections'] = "http://collections.soap.yodlee.com"
soap.namespaces['xmlns:login'] = 'http://login.ext.soap.yodlee.com'
Expand Down Expand Up @@ -665,7 +665,8 @@ def start_refresh
:elements => items
},
:refresh_priority => 2,
:order! => [:user_context, :item_ids, :refresh_priority],
:force_refresh => force,
:order! => [:user_context, :item_ids, :refresh_priority, :force_refresh],
:attributes! => {
:user_context => { "xsi:type" => "common:UserContext"},
:item_ids => { "xsi:type" => "collections:ArrayOflong"}
Expand Down

0 comments on commit 192b62b

Please sign in to comment.