Sha256: e47c18a5c49596c640c337a5f46f4d146251df953360331f105d91e1be895225

Contents?: true

Size: 842 Bytes

Versions: 38

Compression:

Stored size: 842 Bytes

Contents

# -*- coding: utf-8 -*-
#
# instagr.rb - plugin to insert images on instagr.am
#              !! integrated into the instagram.rb.
#              !! Please use the instagram.rb
#
# Copyright (C) 2011-2015, tamoot <tamoot+tdiary@gmail.com>
# You can redistribute it and/or modify it under GPL2.
#
# usage:
# <%= instagr 'short URL instag.ram' =>
# <%= instagr 'short URL instag.ram', size}  =>
#
# available size option:
#  :small  => 150x150 pixel
#  :medium => 306x306 pixel (default)
#  :large  => 612x612 pixel

def instagr( short_url, size = :medium)
   if respond_to?(:instagram)
      instagram( short_url, size )
   else
      return %Q|instagr.rb was integrated into instagram.rb. Please use the instagram.rb|
   end
end


# Local Variables:
# mode: ruby
# indent-tabs-mode: t
# tab-width: 3
# ruby-indent-level: 3
# End:
# vim: ts=3

Version data entries

38 entries across 33 versions & 2 rubygems

Version Path
tdiary-contrib-5.3.0 plugin/instagr.rb
tdiary-contrib-5.2.4 plugin/instagr.rb
tdiary-contrib-5.2.3 plugin/instagr.rb
tdiary-contrib-5.2.2 plugin/instagr.rb
tdiary-contrib-5.2.1 plugin/instagr.rb
tdiary-contrib-5.2.0 plugin/instagr.rb
tdiary-contrib-5.1.7 plugin/instagr.rb
tdiary-contrib-5.1.6 plugin/instagr.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/bundler/gems/tdiary-contrib-d1e41204db13/plugin/instagr.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/tdiary-5.1.5/vendor/bundle/ruby/3.0.0/gems/tdiary-contrib-5.1.4/plugin/instagr.rb
tdiary-contrib-5.1.5 plugin/instagr.rb
tdiary-5.1.5 vendor/bundle/ruby/3.0.0/gems/tdiary-contrib-5.1.4/plugin/instagr.rb
tdiary-contrib-5.1.4 plugin/instagr.rb
tdiary-contrib-5.1.3 plugin/instagr.rb
tdiary-contrib-5.1.2 plugin/instagr.rb
tdiary-contrib-5.1.1 plugin/instagr.rb
tdiary-contrib-5.1.0 plugin/instagr.rb
tdiary-contrib-5.0.13 plugin/instagr.rb
tdiary-contrib-5.0.12 plugin/instagr.rb
tdiary-contrib-5.0.11 plugin/instagr.rb