# File lib/rhc/rest/mock.rb, line 132 def stub_authorizations stub_api_request(:get, 'broker/rest/user/authorizations', mock_user_auth). to_return({ :status => 200, :body => { :type => 'authorizations', :data => [ { :note => 'an_authorization', :token => 'a_token_value', :created_at => mock_date_1, :expires_in_seconds => 60, :scopes => 'session read' } ] }.to_json }) end