Sha256: cb61d9a170d4894ff4e72224071999750b569870fd9ffa8088da0917e2c1086a

Contents?: true

Size: 330 Bytes

Versions: 2

Compression:

Stored size: 330 Bytes

Contents

module PinPress
  class Template
    TEMPLATE_TYPE_PIN = 1
    TEMPLATE_TYPE_TAG = 2

    attr_accessor :closer
    attr_accessor :item
    attr_accessor :item_separator
    attr_accessor :name
    attr_accessor :opener

    def initialize(params = {})
      params.each { |key, value| send("#{ key }=", value) }
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pinpress-1.0.2 lib/PinPress/templates/template.rb
pinpress-1.0.1 lib/PinPress/templates/template.rb