Class: Kippt::Comment

Inherits:
Object
  • Object
show all
Includes:
Resource
Defined in:
lib/kippt/comment.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Resource

#destroy, included, #save, #writable_attributes_hash

Constructor Details

#initialize(attributes = {}, clip = nil, client = nil) ⇒ Comment

Returns a new instance of Comment.



13
14
15
16
# File 'lib/kippt/comment.rb', line 13

def initialize(attributes = {}, clip = nil, client = nil)
  super(attributes, client)
  @clip = clip
end

Instance Attribute Details

#clipObject (readonly)

Returns the value of attribute clip.



11
12
13
# File 'lib/kippt/comment.rb', line 11

def clip
  @clip
end