class FantasticRobot::Model::File

This object represents a file.

Attributes

file_id[RW]
file_path[RW]
file_size[RW]

Public Class Methods

file() click to toggle source
# File lib/fantastic_robot/model/file.rb, line 10
def self.file
  FantasticRobot.connection.get_by_path(self.file_path) unless self.file_path.blank?
end