class RestfulSharePoint::Attachment

Public Instance Methods

endpoint() click to toggle source
# File lib/restful-sharepoint/objects/attachment.rb, line 4
def endpoint
  url = URI.parse(connection.site_url)
  url.path = URI.encode(@properties['ServerRelativeUrl'])
  url.to_s
end