aboutsummaryrefslogtreecommitdiffstats
path: root/lib/link.rb
blob: 3ce12ae241c7498868d48fcf06b7021f4433a9fd (plain)
1
2
3
4
5
6
7
8
9
10
11
class Link
  attr_reader :name, :href, :method, :data, :content

  def initialize(name: nil, href:, method: nil, data: nil, content: nil)
    @name = name
    @href = href
    @method = method
    @data = data
    @content = content
  end
end