Passed
Push — master ( 849c80...dd2f8f )
by Steffen
01:24
created

PricingAdapter   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Importance

Changes 2
Bugs 0 Features 2
Metric Value
c 2
b 0
f 2
dl 0
loc 10
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __init__() 0 7 1
1
#!/usr/bin/python
2
# -*- coding: utf-8 -*-
3
4
from kuon.watcher.adapters import PricingAdapterBase
5
from kuon.bitskins.api.interfaces import IPricing
6
7
8
class PricingAdapter(PricingAdapterBase):
9
    """Adapter for the Pricing Interface of BitSkins"""
10
11
    def __init__(self, *args, **kwargs):
12
        """Initializing function
13
14
        :param args:
15
        :param kwargs:
16
        """
17
        self.pricing_interface = IPricing(*args, **kwargs)
18