Module: Bitly::API::Bitlink::Utils

Defined in:
lib/bitly/api/bitlink/utils.rb

Class Method Summary collapse

Class Method Details



7
8
9
# File 'lib/bitly/api/bitlink/utils.rb', line 7

def self.normalise_bitlink(bitlink:)
  bitlink.gsub(/^https?:\/\//, "")
end