class Rexpense::Entities::AttachmentCollection

A wrapper to Attachment collection

Public Instance Methods

build_collection() click to toggle source
# File lib/rexpense/entities/attachment_collection.rb, line 7
def build_collection
  response.parsed_body['attachments'].each do |attributes|
    collection.push(Rexpense::Entities::Attachment.new(attributes))
  end
end