Completed
Pull Request — master (#436)
by Anthony
02:00
created

ListVehiclesAction   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 4
Duplicated Lines 0 %
Metric Value
wmc 1
dl 0
loc 4
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A run() 0 3 1
1
from lib.actions import BaseAction
2
3
__all__ = [
4
    'ListVehiclesAction'
5
]
6
7
8
class ListVehiclesAction(BaseAction):
9
    def run(self):
10
        return self.formatter.formatter(
11
            self.connection.vehicles())
12