Sha256: 55314a69587c7142a3da8bd7a4a8b9652b15a451e6b0acdcb63992e903b161a6

Contents?: true

Size: 850 Bytes

Versions: 17

Compression:

Stored size: 850 Bytes

Contents

module Houston
  module Adapters
    module TicketTracker
      class NullTicketClass

        def remote_id
          nil
        end

        def number
          nil
        end

        def summary
          nil
        end

        def description
          nil
        end

        def reporter_email
          nil
        end

        def resolution
          ""
        end

        def milestone_id
          nil
        end

        def type
          nil
        end

        def tags
          []
        end

        def created_at
          nil
        end

        def closed_at
          nil
        end

        def attributes
          {}
        end

        def close!
        end

        def reopen!
        end



        def nil?
          true
        end

      end

      NullTicket = NullTicketClass.new
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
houston-core-0.8.0.pre app/adapters/houston/adapters/ticket_tracker/null_ticket.rb
houston-core-0.7.0 app/adapters/houston/adapters/ticket_tracker/null_ticket.rb
houston-core-0.7.0.beta4 app/adapters/houston/adapters/ticket_tracker/null_ticket.rb
houston-core-0.7.0.beta3 app/adapters/houston/adapters/ticket_tracker/null_ticket.rb
houston-core-0.7.0.beta2 app/adapters/houston/adapters/ticket_tracker/null_ticket.rb
houston-core-0.7.0.beta app/adapters/houston/adapters/ticket_tracker/null_ticket.rb
houston-core-0.6.3 app/adapters/houston/adapters/ticket_tracker/null_ticket.rb
houston-core-0.6.2 app/adapters/houston/adapters/ticket_tracker/null_ticket.rb
houston-core-0.6.1 app/adapters/houston/adapters/ticket_tracker/null_ticket.rb
houston-core-0.6.0 app/adapters/houston/adapters/ticket_tracker/null_ticket.rb
houston-core-0.5.6 app/adapters/houston/adapters/ticket_tracker/null_ticket.rb
houston-core-0.5.5 app/adapters/houston/adapters/ticket_tracker/null_ticket.rb
houston-core-0.5.4 app/adapters/houston/adapters/ticket_tracker/null_ticket.rb
houston-core-0.5.3 app/adapters/houston/adapters/ticket_tracker/null_ticket.rb
houston-core-0.5.2 app/adapters/houston/adapters/ticket_tracker/null_ticket.rb
houston-core-0.5.1 app/adapters/houston/adapters/ticket_tracker/null_ticket.rb
houston-core-0.5.0 app/adapters/houston/adapters/ticket_tracker/null_ticket.rb