class Clubhouse::File

Public Instance Methods

save() click to toggle source
Calls superclass method Clubhouse::BaseResource#save
# File lib/clubhouse/file.rb, line 10
def save
  if id.nil?
    raise NotSupportedByAPIError,
      "You can't create a direct file upload, but can create linked files over the API"
  end

  super
end