```ruby
module CiInACan
  class BashResult
    attr_accessor :exit_code, :output
  end
end
```

Add a method to be able to determine if the call was successful or not.
user
```ruby
module CiInACan

  class BashResult

    attr_accessor :exit_code, :output

    def success
      exit_code == 0
    end

  end

end
```
assistant