Class: Clubhouse::File

Inherits:
ClubhouseResource show all
Defined in:
lib/clubhouse2/file.rb

Class Method Summary collapse

Methods inherited from ClubhouseResource

#api_url, #delete!, #flush, inherited, #initialize, property_filter_create, property_filter_update, #resolve_to_ids, #set_properties, subclass, #to_h, #update, validate, #value_format

Constructor Details

This class inherits a constructor from Clubhouse::ClubhouseResource

Class Method Details

.api_urlObject



10
11
12
# File 'lib/clubhouse2/file.rb', line 10

def self.api_url
	'files'
end

.propertiesObject



3
4
5
6
7
8
# File 'lib/clubhouse2/file.rb', line 3

def self.properties
	[
		:content_type, :created_at, :description, :entity_type, :external_id, :filename, :id, :mention_ids, :name,
	  	:size, :story_ids, :thumbnail_url, :updated_at, :uploader_id, :url
	]
end