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

PricingAdapter.__init__()   A

Complexity

Conditions 1

Size

Total Lines 7

Duplication

Lines 0
Ratio 0 %

Importance

Changes 2
Bugs 0 Features 2
Metric Value
cc 1
c 2
b 0
f 2
dl 0
loc 7
rs 9.4285
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