class Product

Included Modules

Defined in:

models/product.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

[View source]

Instance Method Detail

def cm : CM #

[View source]
def cm=(cm : CM) #

[View source]
def id #

[View source]
def image : String #

[View source]
def image=(image : String) #

[View source]
def monthly : Bool | Nil #

[View source]
def monthly=(monthly : Bool | Nil) #

[View source]
def name : String #

[View source]
def name=(name : String) #

[View source]
def price : Int64 #

[View source]
def price=(price : Int64) #

[View source]
def srp : Int64 | Nil #

[View source]
def srp=(srp : Int64 | Nil) #

[View source]
def to_json(json : JSON::Builder) #

[View source]
def type : String | Nil #

[View source]
def type=(type : String | Nil) #

[View source]
def url #

[View source]
def url=(url : String | Nil) #

[View source]