module Gimlet::Model
Constants
- VERSION
Public Class Methods
included(base)
click to toggle source
# File lib/gimlet/model.rb, line 9 def self.included(base) base.extend ClassMethods end
new(data)
click to toggle source
# File lib/gimlet/model.rb, line 37 def initialize(data) @data = data end
Public Instance Methods
to_param()
click to toggle source
# File lib/gimlet/model.rb, line 41 def to_param id end