Sha256: f79189870778b0c6daef3b86a570685f16a507fdea835a43242bdffe5e6eb35d

Contents?: true

Size: 298 Bytes

Versions: 26

Compression:

Stored size: 298 Bytes

Contents

module ExternalServices
  module Api
    module <%= name %>
      extend ExternalServices::Api
      class Error < ExternalServices::Api::Error; end

      # module_function
      #
      # Redefine everything unusual:
      # def api_key
      #   'my hardcoded key'
      # end
    end
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
external_services-0.1.5 lib/generators/templates/services/api.rb
external_services-0.1.4 lib/generators/templates/services/api.rb
external_services-0.1.3 lib/generators/templates/services/api.rb
external_services-0.1.2 lib/generators/templates/services/api.rb
external_services-0.1.1 lib/generators/templates/services/api.rb
external_services-0.1.0 lib/generators/templates/services/api.rb