How to remove API logic from view in Rails Way?

I would like to remove this logic:

Suitcase::Hotel.find(id: hotel.id).images.first.url

from view.

I dont have model Hotel. I get this url via API using Suitcase gem.

I forgot pase code: https://gist.github.com/2719479

Problem is because hotel is from @hotels = Suitcase::Hotel.find(location: "%#{headed}%") and API recevie me images only if do Suitcase::Hotel.find(id: hotel.id)

http://stackoverflow.com/questions/10638807/how-to-remove-api-logic-from-view-in-rails-way