Class: Dawanda::Pinboard

Inherits:
Object
  • Object
show all
Includes:
Model
Defined in:
lib/dawanda/pinboard.rb

Overview

Pinboard

Represents a Pinboard - has the following attributes:

id

The unique identifier for this pinboard

name

The pinboard’s name

description

Pinboard’s description

Instance Method Summary collapse

Methods included from Model

included

Instance Method Details

#products(params = {}) ⇒ Object



20
21
22
# File 'lib/dawanda/pinboard.rb', line 20

def products(params = {})
  Product.find_all_by_pinboard_id(id, params)
end