Sha256: 22c5a1bb7604bed455586bd8e89190879c62cf48368000040b10d685440b66c7

Contents?: true

Size: 326 Bytes

Versions: 10

Compression:

Stored size: 326 Bytes

Contents

module Clubhouse
	class Storycomment < ClubhouseResource
		def self.properties
			[ :author_id, :comments, :created_at, :entity_type, :external_id, :id, :mention_ids, :position, :story_id, :text, :updated_at ]
		end

		def self.api_url
			'comments'
		end

		def api_url
			"#{self.api_url}/#{@story_id}/#{id}"
		end
	end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
clubhouse2-1.0.11 lib/clubhouse2/story_comment.rb
clubhouse2-1.0.10 lib/clubhouse2/story_comment.rb
clubhouse2-1.0.8 lib/clubhouse2/story_comment.rb
clubhouse2-1.0.7 lib/clubhouse2/story_comment.rb
clubhouse2-1.0.6 lib/clubhouse2/story_comment.rb
clubhouse2-1.0.5 lib/clubhouse2/story_comment.rb
clubhouse2-1.0.4 lib/clubhouse2/story_comment.rb
clubhouse2-1.0.3 lib/clubhouse2/story_comment.rb
clubhouse2-0.0.2 lib/clubhouse2/story_comment.rb
clubhouse2-0.0.1 lib/clubhouse2/story_comment.rb