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 = {}, client = nil, clip = nil) ⇒ Comment

Returns a new instance of Comment.



15
16
17
18
# File 'lib/kippt/comment.rb', line 15

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

Instance Attribute Details

#clipObject (readonly)

Returns the value of attribute clip.



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

def clip
  @clip
end