module Hatchbuck::URLifier

Public Class Methods

build(object, action) click to toggle source
# File lib/helpers.rb, line 12
def self.build(object, action)
        base_path = 'https://api.hatchbuck.com/api/v1/'
        key = Key.get
        return "#{base_path}#{object}#{action}?api_key=#{key}"
end