struct Kutt::LinkStats

Included Modules

Defined in:

kutt/stats.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(all_time : TimeFrame, last_day : TimeFrame, last_month : TimeFrame, last_week : TimeFrame, created_at : String, updated_at : String, id : String, link : String, password : Bool, target : String, visit_count : Int32) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def all_time : TimeFrame #

[View source]
def clone #

[View source]
def copy_with(all_time _all_time = @all_time, last_day _last_day = @last_day, last_month _last_month = @last_month, last_week _last_week = @last_week, created_at _created_at = @created_at, updated_at _updated_at = @updated_at, id _id = @id, link _link = @link, password _password = @password, target _target = @target, visit_count _visit_count = @visit_count) #

[View source]
def created_at : String #

def id : String #

def last_day : TimeFrame #

[View source]
def last_month : TimeFrame #

[View source]
def last_week : TimeFrame #

[View source]
def link : String #

def password : Bool #

def target : String #

def updated_at : String #

def visit_count : Int32 #