Class: AdminSource

Inherits:
Upmin::Model
  • Object
show all
Defined in:
app/upmin/admin_source.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.associationsObject


12
13
14
# File 'app/upmin/admin_source.rb', line 12

def associations
  []
end

Instance Method Details

#get_last_articlesObject


7
8
9
# File 'app/upmin/admin_source.rb', line 7

def get_last_articles
  "#{SourceServices::Synchronize.new(object).call} article(s) created"
end