Sha256: e3b3513b0de1aa9511107a7c69f6f9add4b7fa6d7fc9334d64f2523dc4022242
Contents?: true
Size: 933 Bytes
Versions: 1
Compression:
Stored size: 933 Bytes
Contents
module Houston module Adapters module TicketTracker class NullConnectionClass # Public API for a TicketTracker connection # ------------------------------------------------------------------------- # def features [] end def build_ticket(attributes) NullTicket end def create_ticket!(attributes) raise NotImplementedError end def find_ticket_by_number(number) nil end def project_url nil end def ticket_url(ticket_number) nil end # ------------------------------------------------------------------------- # def nil? true end end NullConnection = NullConnectionClass.new end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
houston-core-0.5.0.beta1 | app/adapters/houston/adapters/ticket_tracker/null_connection.rb |