Sha256: 0c3e3e4af04f100fe5697da5a1bd2b6386c267db2cc00b02ce49c9c7a4e0d647
Contents?: true
Size: 428 Bytes
Versions: 6
Compression:
Stored size: 428 Bytes
Contents
module Yaks class Resource class Link include Equalizer.new(:rel, :uri, :options) attr_reader :rel, :uri, :options def initialize(rel, uri, options) @rel, @uri, @options = rel, uri, options end def name options[:name] end def title options[:title] end def templated? options.fetch(:templated) { false } end end end end
Version data entries
6 entries across 6 versions & 1 rubygems