Class: Cherrypicker::SingleLink

Inherits:
Object
  • Object
show all
Defined in:
lib/cherrypicker/linkchecker.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(link, status, size) ⇒ SingleLink

Returns a new instance of SingleLink.



115
116
117
118
119
# File 'lib/cherrypicker/linkchecker.rb', line 115

def initialize(link, status, size)
  @size = size
  @link = link
  @status = status
end

Instance Attribute Details

Returns the value of attribute link.



113
114
115
# File 'lib/cherrypicker/linkchecker.rb', line 113

def link
  @link
end

#sizeObject

Returns the value of attribute size.



113
114
115
# File 'lib/cherrypicker/linkchecker.rb', line 113

def size
  @size
end

#statusObject

Returns the value of attribute status.



113
114
115
# File 'lib/cherrypicker/linkchecker.rb', line 113

def status
  @status
end